-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Unable to send metrics using googlecloudexporter to custom endpoint with incorrect errors #36502
Comments
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hi @Mona3087, The error message you posted: Does inform that The error mentions that it is for custom metrics which distinguishes it from the other kinds of active TimeSeries quota. Could you mention what was your expected output/error message ? |
Component(s)
exporter/googlecloud
What happened?
Description
We are using otel collector to collect custom metrics from our Kubernetes cluster and export it to Google Cloud Monitoring for alerts. When have lots of pods in our cluster, our clusters could be generating more than 200k time series per minute. Otel at that point starts logging error and is not able to push metrics in cloud. The error is talking about hitting 200 quota limit and it is misleading. Ref: https://cloud.google.com/monitoring/quotas
Steps to Reproduce
Create sample pod/app that pushes more than 200k time series on single monitored resource type.
Expected Result
Error should specify that which quota limit otel exporter is hitting.
Actual Result
2024-11-19T17:18:39.278Z error internal/queue_sender.go:92 Exporting failed. Dropping data. {"kind": "exporter", "data_type": "metrics", "name": "googlecloud", "error": "rpc error: code = ResourceExhausted desc = One or more TimeSeries could not be written: timeSeries[0-53]: write for resource=k8s_cluster{location:us-east1,cluster_name:ctl-gke-4501} failed with: Monitored resource has too many time series (custom metrics).\nerror details: name = Unknown desc = total_point_count:54 errors:{status:{code:8} point_count:54}", "dropped_items": 54}
Collector version
v0.114.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
GKE 1.31.1-gke.2105000
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: