Skip to content

Support stringlabels #17122

Open
Open
@jeschkies

Description

@jeschkies

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureSomething new we should do

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions