Skip to content

Support stringlabels #17122

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

Open
15 of 30 tasks
jeschkies opened this issue Apr 11, 2025 · 0 comments
Open
15 of 30 tasks

Support stringlabels #17122

jeschkies opened this issue Apr 11, 2025 · 0 comments
Labels
type/feature Something new we should do

Comments

@jeschkies
Copy link
Contributor

jeschkies commented Apr 11, 2025

Prometheus has different label implementations. Its stringlabels can help Loki avoid allocation in its pipeline. This issue tracks the effort to migrate to the new Prometheus labels.Labels signature to enable support for stringlabels.

A prototype is available at https://github.com/jeschkies/loki/tree/karsten/stringlabels

Note: labels.Labels is not an interface. stringlabels are enabled with a build tag.

Tests

Production Code

@JStickler JStickler added the type/feature Something new we should do label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Something new we should do
Projects
None yet
Development

No branches or pull requests

2 participants