Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upHistogram startTimer() fails when applying labelNames #3225
Comments
This comment has been minimized.
This comment has been minimized.
|
This is correct, for a labelled metric you must specify the labels. It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
brian-brazil
closed this
Sep 27, 2017
This comment has been minimized.
This comment has been minimized.
|
Since English is my second language, I may have explained myself wrong. For that I apologize. Histogram is failing when I am applying the labels. |
This was referenced Jan 24, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
acarlstein commentedSep 26, 2017
•
edited
#How you doing?
I apologize to bother you but I think I may have encounter a possible bug.
I tried to find any solution or explanation to the problem unsuccessfully, else I would not be bothering you.
In Java or Groovy, this works:
While this fails:
Producing this Exception:
I have apply similar approach using labels with Counter and Gauge, no problems there.
Note: I am using io.prometheus:simpleclient_common:0.0.20 and io.prometheus:simpleclient:0.0.26