Closed f-michaut closed 4 years ago
Is this a duplicate of https://github.com/micrometer-metrics/micrometer/issues/2069?
Yeah, it seems so, should I close this ?
Thanks for checking @Francois-Michaut-Epitech (and the initial report). I'll close and tag as duplicate.
Hello,
I am reporting metrics to Graphite, using a
GraphiteReporter
. Since Graphite support tags, I'm using them in my metrics.For instance I have the following meter :
registry.counter("my.counter", Tag.of("version", "SNAPSHOT"));
I'm expecting my tag to have the valueSNAPSHOT
, and a serie named something likemy.counter.count
.But when I look the series name in Graphite I have the following :
my.counter;version=SNAPSHOT.count
And when I'm looking for the values of the tagversion
, I don't haveSNAPSHOT
, but this :The problem is that Graphite allows the dot character in the tag value, and the
GraphiteReporter
append theMettricAttribute
after the serie's name and tags have been concatenated.The serie should look like
my.counter.count;version=SNAPSHOT
instead ofmy.counter;version=SNAPSHOT.count
when sended to Graphite-carbon.