-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ()
as label set generates invalid format
#75
Comments
What is your reasoning for not using a plain |
I've built a small wrapping library around |
One solution could be to only add a client_rust/src/encoding/text.rs Lines 277 to 285 in 6b7a345
|
Tangentially related, but I noticed that But yea that might be one solution I suppose. Alternatively, maybe it should be the responsibility of the |
That assumption is correct.
That would as well be a viable solution. |
I honestly find it a bit surprising that I feel like |
I agree. Today I am using
Each of these use-cases should probably use their own |
I tried using
()
as the label set for a family, likeFamily<(), Histogram, ...>
. Unfortunately this resulted in the following line in my metrics output:This results in a
expected label name, got "COMMA"
error when Prometheus tries to collect the metrics.I would expect this to "just work" and just not insert any label (i.e. basically not have the leading comma in
{,le="1.0"}
)The text was updated successfully, but these errors were encountered: