VictoriaMetrics / victoriametrics-datasource

Grafana datasource for VictoriaMetrics
GNU Affero General Public License v3.0
112 stars 14 forks source link

Can metric name start with numbers? #230

Open chenlujjj opened 1 week ago

chenlujjj commented 1 week ago

Seems it's not allowed when querying in Grafana:

image

But according to the doc:

Metric names and label names may contain any unicode letter It should be allowed.

hagen1778 commented 2 days ago

@chenlujjj you have to query it as {__name__="3ds.metric.count"}. Otherwise, the parser assumes you're entering a time interval or a number.

hagen1778 commented 2 days ago

Related to https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7703

chenlujjj commented 2 days ago

Got it, thanks @hagen1778