Closed olix0r closed 9 months ago
I found this reference that indicates that this is correct. My problem is actually that prometheus-parse doesn't handle this properly.
Sorry for the delay here. Your second comment is correct, i.e. this is the correct syntax.
Anyways, I appreciate the detailed report. Let me know in case there is anything I can help with @olix0r.
I have a metric that is reported via the Collector API:
When it is encoded, its name is encoded inconsistently:
That is, the
_total
suffix is not appended viaencoding::text::DescriptorEncoder::encode_descriptor
. This needs to be updated to have the same write_suffix behavior that MetricEncoder uses to add _total, _info, etc.