graphite-project / carbon

Carbon is one of the components of Graphite, and is responsible for receiving metrics over the network and writing them down to disk using a storage backend.
http://graphite.readthedocs.org/
Apache License 2.0
1.5k stars 490 forks source link

metric with tags doesn't work #832

Closed dumbdonkey closed 5 years ago

dumbdonkey commented 5 years ago

I use the graphite in Docker (this one:https://github.com/graphite-project/docker-graphite-statsd)

image

when I send a metric without tags, everything seems good. well, if I add tags with metric I can't found my metrics anymore.

I have checked the carbon log but nothing found

Plz give me a hand, thanks a lot!

deniszh commented 5 years ago

Yes, that's how it works for now. Tagged metrics' name is hashed and resides under _tagged directory. So, dashboard doesn't currently support tagged metrics in metric hierarchy, you'll need to use seriesByTag() function to filter metric by tag or use e.g. Grafana to render it properly.

deniszh commented 5 years ago

See https://github.com/graphite-project/carbon/issues/813

dumbdonkey commented 5 years ago

@deniszh Thanks a lot. it would be better if we can add this description in the document.

tmdoit-zz commented 4 years ago

Right, I lost two hours on trying to resolve this "problem".