influx show fields tables code example
Example: influxdb list all tags for a measurement
SHOW FIELD KEYS [ON <database_name>] [FROM <measurement_name>]
# option a)
SHOW FIELD KEYS ON MyDatebase FROM MyMesurement
# option b)
use MyDatebase
SHOW FIELD KEYS FROM MyMesurement