-
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
[connector/spanmetrics] - unable to export the metrics using prometheusremotewrite when batch processor enabled #32042
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I would guess that the problem here is that your multiple collectors running in gateway mode are submitting the same samples to prometheus.
and your dimensions list of
I would guess that these do not uniquely identify series. Is each collector receiving traces from the same machines? If not the exact same machines, would each collector be receiving traces from containers that run the same I would also guess that this is also the problem in 32043 |
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, @ramanjaneyagupta Is the problem still exist? Have you tried to add a unique identity to your metrics? |
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. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
connector/spanmetrics
What happened?
Description
Unable to export span metrics using prometheusremotewrite when batch processor enabled.
Agetns -> Gateway(OtelCollectors) -> Storage.
Gateway contains multiple servers which calculates the spanmetrics and writes to the Prometheus using PRW.
Steps to Reproduce
enable spanmetrics with prometheus remotewrite
Expected Result
Prometheus Remote Write should able to export the metrics when batch processor is enabled
Actual Result
It is giving "Permanent Error"; "Duplicate Sample For timestamp"; " Permanent error remote write returned status code of 400 bad request""
Collector version
v0.96.0
Environment information
Environment
OS: Linux (RHEL)
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: