Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Specify precisely the semantics of empty label values #14

Closed
brian-brazil opened this issue Jul 18, 2017 · 3 comments
Closed

Specify precisely the semantics of empty label values #14

brian-brazil opened this issue Jul 18, 2017 · 3 comments

Comments

@brian-brazil
Copy link
Contributor

prometheus/docs#548

@brian-brazil
Copy link
Contributor Author

This is getting a bit into Prometheus-specific semantics, but we should at least specify that an empty label value is the same as that label not existing.

@RichiH
Copy link
Member

RichiH commented Jul 19, 2017

I would argue that this is not implementation-specific, as allowing either will lead to mismatching label sets in different ingestors; thus, it's a wire format consideration.

We do agree that 'empty' means "" only and not " "?

@brian-brazil
Copy link
Contributor Author

Yes, the zero-length label value is empty - not any other value.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants