influxdb show measurements code example
Example 1: influxdb add measurement
INSERT xyz,name=serverA value=10,count=10
This will create a measurement name xyz where
tag keys : name
field keys : value & count
Example 2: 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