Micrometer: failed to send metrics to datadog: Payload too big

Created on 26 Feb 2019  路  3Comments  路  Source: micrometer-metrics/micrometer

I'm getting that error from io.micrometer.datadog.DatadogMeterRegistry. Is there any way to configure the rate at which metrics are sent to Datadog so this doesn't happens?

question datadog

Most helpful comment

@adrianboimvaser You can set batch size (default: 10,000) on its configuration, DatadogConfig. If you're using Spring Boot, you can achieve it by setting the following property:

management.metrics.export.datadog.batch-size=10000 # Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

All 3 comments

@adrianboimvaser You can set batch size (default: 10,000) on its configuration, DatadogConfig. If you're using Spring Boot, you can achieve it by setting the following property:

management.metrics.export.datadog.batch-size=10000 # Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made.

Thank you @izeye !

We are using micrometer 1.0.3 and even after setting the batch size to 5000 and reducing the step time to 30seconds we are getting this error. Any suggestions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pjfanning picture pjfanning  路  3Comments

samanthacatania picture samanthacatania  路  4Comments

wilkinsona picture wilkinsona  路  3Comments

wilkinsona picture wilkinsona  路  5Comments

exploder86 picture exploder86  路  3Comments