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

Client.Timeout exceeded while awaiting headers #97

Open
HugoPuntos opened this issue Jun 19, 2020 · 2 comments
Open

Client.Timeout exceeded while awaiting headers #97

HugoPuntos opened this issue Jun 19, 2020 · 2 comments

Comments

@HugoPuntos
Copy link

Hello,

Thanks for all the work you've been doing on this exporter.

Several times a day, I can notice some holes in my chart and the following error in the exporter:

net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Do you have any ideas on how I could reduce the number of occurrences?

Thanks,

@SuperQ
Copy link
Contributor

SuperQ commented Jun 20, 2020

You probably need to look at your scrape interval and timeout settings. Compare this against the scrape_duraiton_seconds.

@sidewinder12s
Copy link

Ya, default scrape timeout I think is 10s. Depending on the number of metric namespaces/total count of metrics within those namespaces it can take a while for GCP to return results.

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

No branches or pull requests

3 participants