Does your metric actually look like this?

mymetric{name="bots_languagedetection.1.u13kbsn40s1gsnnf10fbvh4f5"} 1

I don't know if grafana can rewrite labels.

In PromQL queries you can use label_replace:
https://prometheus.io/docs/prometheus/latest/querying/functions/#label_replace

However, it might be worth doing metric relabelling at ingestion time to 
get more meaningful labels, even if it's only as simple as

mymetric{name="bots_languagedetection.1",id="u13kbsn40s1gsnnf10fbvh4f5"}

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/15aab4e4-146e-46f9-91ee-46e3b1c57ebdo%40googlegroups.com.

Reply via email to