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 collector const labels #8

Merged
merged 1 commit into from Mar 26, 2024
Merged

Add collector const labels #8

merged 1 commit into from Mar 26, 2024

Conversation

machadovilaca
Copy link
Owner

Sometimes when using collectors you might not know every necessary label
on compile time. This PR allows users to pass a set of const labels directly to
the collector result. This might be used when you want to, for example,
collect metrics about Kubernetes cluster resources, and want to include
some additional variable metadata from that resource.

Signed-off-by: machadovilaca <machadovilaca@gmail.com>
@assafad assafad merged commit 50ee142 into main Mar 26, 2024
1 check passed
@assafad assafad deleted the add-collector-const-labels branch March 26, 2024 11:45
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

2 participants