-
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
telemetry receiver prometheus down after some minutes #30835
Comments
I can confirm I also see the same issue on version 0.93.0. This worked fine on version 0.91.0 I get the same error from the metrics endpoint:
I run this on AL2023, (AWS EC2 arm instance) with this config:
I do however have other collectors running which above collectors send to, for testing out sampling, which also runs in a similar way, and on version 0.93.0, where the metrics still works fine.
|
@carlosmt86-hub Which PR was this issue fixed with? I'm seeing a similar problem with version 0.92. |
Component(s)
No response
What happened?
Description
After some minutes (30-45) telemetry metrics stop working we can see this error doing a curl -v 127.0.0.1:8888/metrics:
collected metric "otelcol_exporter_queue_size" { label:{name:"exporter" value:"datadog"} label:{name:"service_instance_id" value:"a2cdae11-0e8f-4b05-a31a-9de31429d8a7"} label:{name:"service_name" value:"otelcol-contrib"} label:{name:"service_version" value:"0.93.0"} gauge:{value:0}} was collected before with the same name and label values
On the logs I have:
warn internal/transaction.go:123 Failed to scrape Prometheus endpoint {"kind": "receiver", "name": "prometheus", "data_type": "metrics", "scrape_timestamp": 1706557569579, "target_labels": "{name="up", instance="127.0.0.1:8888", job="otel-collector"}"}
Steps to Reproduce
Enable telemetry and scrape it with Prometheus receiver, after some minutes stop working
Expected Result
Telemetry metrics continue working.
Actual Result
Telemetry metrics stop working after some minutes.
Collector version
v0.93.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: