[go: nahoru, domu]

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 missing sample configuration file #66

Merged
merged 2 commits into from
Oct 2, 2021

Conversation

LeviHarrison
Copy link
Member

This PR fixes a link to a non-existent sample configuration file in https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md by adding one. The file is mostly copied from https://github.com/prometheus/prometheus/blob/main/documentation/examples/web-config.yml with the following small changes:

8,9c8,9
< # Usernames and passwords required to connect.
< # Passwords are hashed with bcrypt: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md#about-bcrypt.
---
> # Usernames and passwords required to connect to Prometheus.
> # Passwords are hashed with bcrypt: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md#about-bcrypt

Fixes #65

Signed-off-by: Levi Harrison <git@leviharrison.dev>
@SuperQ
Copy link
Member
SuperQ commented Oct 2, 2021

The link in the docs should be updated to point to https://github.com/prometheus/exporter-toolkit/blob/master/web/web-config.yml.

Signed-off-by: Levi Harrison <git@leviharrison.dev>
@roidelapluie roidelapluie merged commit 3f030d1 into prometheus:master Oct 2, 2021
@roidelapluie
Copy link
Member

Thanks!

@SuperQ
Copy link
Member
SuperQ commented Oct 2, 2021

Err, that's not what I meant. The example config is in the web dir.

@LeviHarrison
Copy link
Member Author

Whoops... I see that now. This one exercises more of the fields, but we should probably only have one.

@SuperQ
Copy link
Member
SuperQ commented Oct 2, 2021

Yes, this is definitely a better example, we just need to pick one location.

@LeviHarrison
Copy link
Member Author

I prefer docs because that's where the configuration is documented.

@LeviHarrison LeviHarrison deleted the add-example-config branch October 2, 2021 21:55
mrueg pushed a commit to mrueg/exporter-toolkit that referenced this pull request Jan 29, 2022
* Added sample configuration file

Signed-off-by: Levi Harrison <git@leviharrison.dev>
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.

A sample configuration file link is not working
4 participants