-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[receiver/prometheusreceiver] Use Prometheus Labels public method API (…
…#31908) **Description:** By only using the public method API for Prometheus labels (rather than assuming `labels.Labels` is an alias of a slice) it opens up the possibility to build a collector with the `stringlabels` tag, so we can use the more memory efficient labels implementation. **Link to tracking Issue:** #31907 **Testing:** I had trouble running all of the tests locally, so I think I will need some help with making that work. I did run all the tests I changed with `-tags=stringlabels` and without it.
- Loading branch information
Showing
4 changed files
with
72 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.