-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Metrics SDK default label encoding not unique #332
Labels
area:metrics
Part of OpenTelemetry Metrics
Comments
This is a legitimate issue. I'll add this to the list of things that need to be cleared up. |
I think we should restrict keys not to contain certain characters, yes, but some kind of escaping will still be needed. On that topic, there are still open questions about whether unspecified values need to be treated differently from empty-string values, which will touch on the same issue. |
rghetia
added
the
blocked:specification
Waiting on clarification of the OpenTelemetry specification before progress can be made
label
Dec 5, 2019
jmacd
removed
the
blocked:specification
Waiting on clarification of the OpenTelemetry specification before progress can be made
label
Mar 4, 2020
hstan
referenced
this issue
in hstan/opentelemetry-go
Oct 15, 2020
…cortex/utils (#332) * Bump github.com/spf13/afero in /exporters/metric/cortex/utils Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.3.4 to 1.3.5. - [Release notes](https://github.com/spf13/afero/releases) - [Commits](spf13/afero@v1.3.4...v1.3.5) Signed-off-by: dependabot[bot] <support@github.com> * Auto-fix go.sum changes in dependent modules Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looking at the current implementation of the default label encoder, will this produce unique encodings with
get_label_set({"foo=bar": "baz"})
andget_label_set({"foo": "bar=baz"})
? Are we restricting users from have '=' in their labelkeys/values? Sorry if I am misunderstanding as my Go is not as strong :).The text was updated successfully, but these errors were encountered: