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

Issue #231: Add __scheme__ configuration #239

Merged
merged 1 commit into from
Apr 16, 2023

Conversation

dmarmugi
Copy link

Adds a new config parameter: promregator.discovery.scheme. Setting it will add a label __scheme__ to the targets in the /discovery response. Prometheus uses this during relabeling to rewrite the target url.

Closes #231

Adds a new config parameter: `promregator.discovery.scheme`. Setting it
will add a label `__scheme__` to the targets in the `/discovery`
response. Prometheus uses this during relabeling to rewrite the target
url.
@eaglerainbow
Copy link
Contributor

Thanks! Will bring this into 1.1.0 as discussed in #231

@eaglerainbow eaglerainbow merged commit 4fcf7e3 into promregator:master Apr 16, 2023
@dmarmugi dmarmugi deleted the feature/addScheme branch April 17, 2023 21:03
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.

Request to add __scheme__ promregator.discovery.scheme parameter
2 participants