Currently, I want to expose 2 metric with same name but different labels at one time, which look like below:
# HELP system_test_count help description
# TYPE system_test_count gauge
system_test_count{label="test1",} 1.0
............
# HELP system_test_count help description
# TYPE system_test_count gauge
system_test_count{label="test2",} 1.0
But from prometheus targets page, I got below errors:
text format parsing error in line xx: second HELP line for metric name "system_test_count" |
May I ask is there any approach to implement this?
And I don't want to add some other extra info into the metric name(e.g. system_test_A_count & system_test_B_count)
Thanks
Nick