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

fix default scrape_uri in apache_exporter #532

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

anarcat
Copy link

@anarcat anarcat commented Feb 24, 2021

The default scrape_uri in the prometheus apache exporter actually has
a trailing slash. This matters because somehow, here, the address
without a trailing slash fails to scrape.

The default is documented here:

https://github.com/Lusitaniae/apache_exporter/blob/83d8e4d2003eaa85c754d12c110e0a7757e78143/apache_exporter.go#L30

Unit tests adjusted to match change.

The default scrape_uri in the prometheus apache exporter actually has
a trailing slash. This matters because somehow, here, the address
without a trailing slash fails to scrape.

The default is documented here:

https://github.com/Lusitaniae/apache_exporter/blob/83d8e4d2003eaa85c754d12c110e0a7757e78143/apache_exporter.go#L30

Unit tests adjusted to match change.
@bastelfreak bastelfreak added the bug Something isn't working label Feb 24, 2021
@anarcat anarcat merged commit 0089f60 into voxpupuli:master Feb 24, 2021
@anarcat anarcat deleted the scrape-uri-fix branch April 6, 2021 20:25
cegeka-jenkins pushed a commit to cegeka/puppet-prometheus that referenced this pull request Mar 11, 2024
fix default scrape_uri in apache_exporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants