Skip to content

Add customized labels based on HTTP header#74

Open
zzzming wants to merge 4 commits intoslok:masterfrom
kafkaesque-io:headerLabel
Open

Add customized labels based on HTTP header#74
zzzming wants to merge 4 commits intoslok:masterfrom
kafkaesque-io:headerLabel

Conversation

@zzzming
Copy link
Copy Markdown

@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