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

Timeout fetching Google stackdriver monitoring metrics (Client.Timeout exceeded while awaiting headers) #152

Open
pcperera opened this issue Apr 20, 2022 · 2 comments

Comments

@pcperera
Copy link

pcperera commented Apr 20, 2022

Issue

Stackdriver exporter throws the below error when fetching stack driver monitoring metrics.

{ labels: { compute.googleapis.com/resource_name: "gke-company-resource-name" k8s-pod/app: "prometheus-stackdriver-exporter" k8s-pod/release: "stable" } logName: "projects/company/logs/stderr" receiveTimestamp: "2022-04-20T01:15:51.291425040Z" resource: { labels: { cluster_name: "company-cluster1" container_name: "prometheus-stackdriver-exporter" namespace_name: "internal-services" pod_name: "stable-prometheus-stackdriver-exporter-pod-suffix" project_id: "company-project-id" } type: "k8s_container" } severity: "ERROR" textPayload: "level=error ts=2022-04-20T01:15:49.913Z caller=monitoring_collector.go:185 msg="Error while getting Google Stackdriver Monitoring metrics" err="Get \"https://monitoring.googleapis.com/v3/projects/company-cluster1/metricDescriptors?alt=json&filter=metric.type+%3D+starts_with%28%22compute.googleapis.com%2Finstance%2Fcpu%22%29&prettyPrint=false\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"" timestamp: "2022-04-20T01:15:49.913872755Z" }

Question

What is the timeout parameter that has to increased to prevent timing out ? Below Helm chart is used to deploy stack driver exporter.

image

@xbglowx
Copy link
Contributor

xbglowx commented May 27, 2022

Dup of #97 ?

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