Closed kbucheli closed 4 years ago
The metric meta data should only be provided once for a given metric. See the Prometheus exposition formats documentation and my Telegraf based scraper also complains.
# HELP m1 doc # TYPE m1 gauge m1{label1="a",label2="b"} 3.141592653589793 m1{label1="y",label2="z"} 6.283185307179
# HELP m1 doc # TYPE m1 gauge m1{label1="a",label2="b"} 3.141592653589793 # HELP m1 doc # TYPE m1 gauge m1{label1="y",label2="z"} 6.283185307179
This looks good except for the failing tests. I'm not sure what is up with the tests. My brain is too mushy to try and figure it out right now.
The Problem
The metric meta data should only be provided once for a given metric. See the Prometheus exposition formats documentation and my Telegraf based scraper also complains.
Expected Behavior
Actual Behavior