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

Change of PrometheusTimeoutHeader const. #30

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

danielgrabowski
Copy link

It seems that Prometheus now uses different timeout header name (https://github.com/prometheus/prometheus/blob/master/scrape/scrape.go#L610) than the one read by pagespeed_exporter (https://github.com/foomo/pagespeed_exporter/blob/master/handler/probe.go#L21). It causes failures of scrape for slower pages since the default timeout is 30s and it's not changed by Prometheus "scrape_timeout" configuration. This pull request fixes the issue.

@danielgrabowski
Copy link
Author

It fixes #29

@smartinov
Copy link
Contributor

@danielgrabowski tanks for the PR! Glad i could help!

@smartinov smartinov merged commit d996cd8 into foomo:master Aug 26, 2020
@danielgrabowski
Copy link
Author

@smartinov did you abandon the idea to tag versions of your image on Docker Hub? I want to know if I should use the "latest" one or you'll push the new version tag also which would be VERY preferred way since using "latest" images is a bad practice.

@smartinov
Copy link
Contributor

@danielgrabowski definitely didn't. I just haven't had the time to create an automated CI for each tag push to do a release :'(

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.

None yet

2 participants