question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

failed to send metric metadata when using application key

See original GitHub issue

Hi, Im seeing these errors in log frequently when i configure application key, the metrics are making it datadog but not sure what these metadata errors related to json are. If i skip the applicationkey, the errors dont appear.

2018-02-05 11:14:00.826 ERROR 59125 --- [pool-7-thread-1] i.m.datadog.DatadogMeterRegistry         : failed to send metric metadata: {"errors": ["request data must be valid JSON"]}
2018-02-05 11:14:01.765  INFO 59125 --- [pool-7-thread-1] i.m.datadog.DatadogMeterRegistry         : successfully sent 49 metrics to datadog
2018-02-05 11:14:01.909 ERROR 59125 --- [pool-7-thread-1] i.m.datadog.DatadogMeterRegistry         : failed to send metric metadata: {"errors": ["request data must be valid JSON"]}
2018-02-05 11:14:02.022 ERROR 59125 --- [pool-7-thread-1] i.m.datadog.DatadogMeterRegistry         : failed to send metric metadata: {"errors": ["request data must be valid JSON"]}
2018-02-05 11:14:02.121  INFO 59125 --- [pool-7-thread-1] i.m.datadog.DatadogMeterRegistry         : successfully sent 49 metrics to datadog
2018-02-05 11:14:02.296 ERROR 59125 --- [pool-7-thread-1] i.m.datadog.DatadogMeterRegistry         : failed to send metric metadata: {"errors": ["request data must be valid JSON"]}
2018-02-05 11:14:02.362 ERROR 59125 --- [pool-7-thread-1] i.m.datadog.DatadogMeterRegistry         : failed to send metric metadata: {"errors": ["request data must be valid JSON"]}
2018-02-05 11```

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jkschneidercommented, Feb 23, 2018

@n0mer good to know! looks like we need to improve metric naming in spring-integration as well.

1reaction
jkschneidercommented, Feb 12, 2018

Agreed, @checketts. This is fixed on the latest snapshot. Thanks for reporting @srinivasvsk.

Read more comments on GitHub >

github_iconTop Results From Across the Web

API and Application Keys - Datadog Docs
API keys. API keys are unique to your organization. An API key is required by the Datadog Agent to submit metrics and events...
Read more >
Spring boot micro meter datadog socket connection error
send method is failing and I dont under how the micro meter data dog takes the proxy details. The micrometer doc says management.metrics.export....
Read more >
io.micrometer.datadog.DatadogConfig.applicationKey java ...
Best Java code snippets using io.micrometer.datadog. ... applicationKey() == null) return; // we can't set metadata correctly without the application key ...
Read more >
Custom metric metadata | Dynatrace Docs
Metadata and data points are stored independently from data points and tied together by the metric key. You can push data points and...
Read more >
Error messages | Document AI - Google Cloud
Permissions · Application default credentials are not available · Permission denied · Forbidden: 403 POST API has not been used or is disabled...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found