-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/datadog] metrics exporter: 413 - Request Entity Too Large #17566
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hi @hanikesn are you batching the metrics? If so can you share the config of your batch processor? |
We have a batch processor with the following configuration:
|
This probably has to do with the V2 metrics data model change, e.g. in V1 host names are plain strings while in V2 they are in a nested proto message. Two possible mitigations:
|
I configured the batch settings like here:
And still getting the same error. |
From https://docs.datadoghq.com/api/latest/metrics/#submit-metrics:
#16776 switched metric export to call V2 APIs (which is recommended) instead of V1. While the doc you mentioned still refers to the V1 limit. Can you try further lowering the
|
Thanks @songy23, looks like your suggested configuration works well and we couldn't detect any more failures even during peak hours. Please feel free to close the issue, but I suggest updating the docs here and on Datadogs side as it seems quite likely for more people to hit this issue with the latest version. |
Thank you @hanikesn, glad to know it works for you. I'll update the readme in this repo and follow up with updating this page: https://docs.datadoghq.com/opentelemetry/otel_collector_datadog_exporter/?tab=onahost#2-configure-the-datadog-exporter. |
Component(s)
exporter/datadog
What happened?
After updating to the latest collector, which uses the native datadog client we're seeing a lot of failures to export metrics with:
max elapsed time expired 413 Request Entity Too Large
Collector version
0.69.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: