Skip to content

Add documentation for custom headers.#14660

Merged
roidelapluie merged 1 commit intoprometheus:mainfrom
roidelapluie:customheaders
Sep 3, 2024
Merged

Add documentation for custom headers.#14660
roidelapluie merged 1 commit intoprometheus:mainfrom
roidelapluie:customheaders

Conversation

@roidelapluie
Copy link
Member

If this PR is merged, I will add it to all the http configs on the page.


# Per-scrape limit on number of labels that will be accepted for a sample. If
# more than this number of labels are present post metric-relabeling, the
# more than this number of labels are present post metric-relabeling ], the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change intentional? I couldn't see the opening bracket.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Signed-off-by: Julien <roidelapluie@o11y.eu>
Copy link
Member

@machine424 machine424 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
(Not to block this PR but It'd be great to have tests for this, those would be used as a "proof" to users who may have questions/issues with headers. But also to catch any eventual regression on common side.)

If this PR is merged, I will add it to all the http configs on the page.

Why not adding them in this PR?

@roidelapluie roidelapluie merged commit 93f2740 into prometheus:main Sep 3, 2024
@roidelapluie
Copy link
Member Author

Let's at least have the documentation in order for scrape configs. I will create another PR for the rest of the docs and the tests.

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.

3 participants