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 customized labels based on HTTP header #74

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

zzzming
Copy link

@zzzming zzzming commented Jul 29, 2021

This PR allows to add customized labels based on HTTP header. A custom reporter can define a list of customized labels. A new function CustomHeader can parse the header and add them into the prometheus as labels.

@zzzming zzzming requested a review from slok as a code owner July 29, 2021 01:06
@slok slok mentioned this pull request Feb 11, 2022
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.

2 participants