Skip to content
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

add NewWithReadyData() method for stringlabels #14124

Closed
wants to merge 1 commit into from

Conversation

wanghaao
Copy link

If the third-party storage system has encoded the labels-data basing varint format, so we need a direct method to create the stringlabels's object or change the "data" field to be public.

Signed-off-by: wanghaao <1723105929@qq.com>
@machine424
Copy link
Collaborator

Could you tell us more about how the encoding is done on that 3rd party? what it takes as input and why the utils from labels_stringlabels.go aren't/cannot be used

@bboreham
Copy link
Member

This looks like something best kept in your own fork.
Note that we will hopefully move Prometheus to a different format, tag dedupelabels, after some issues are sorted out.

@wanghaao wanghaao closed this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants