Export metrics to dynatrace using Micrometer.io
gradle dependency 'io.micrometer:micrometer-registry-dynatrace:latest.release'
version - (1.1.3)
Causing Exception -> Error {"error":{"code":400,"message":"Could not map JSON at 'series[33].dataPoints' near line 1 column 4071"}} {}
metrics:
export:
dynatrace:
device-id: xxxxx
uri: https://xxxx/e/xxxxx/api/v1/entity/infrastructure/custom
api-token: xxxxxxx
enabled: true
technology-type: java
step: 1m
Asked
Active
Viewed 445 times
0

sankar
- 268
- 2
- 15
-
I would check HTTP status codes from sending the data to Dynatrace, an non 2xx code will indicate a problem. Then I would check in the "custom chart" if the metric is available. – centic Feb 10 '19 at 07:08
-
@Centric thanks for your reply found the cause of it – sankar Feb 13 '19 at 15:48
1 Answers
0
I have found the issue with latest micrometer release(1.1.3). While forming Json data from the metrics its throwing exception i went one minor version(1.1.1) older it worked fine. Should open the bug for this.
Error {"error":{"code":400,"message":"Could not map JSON at 'series[33].dataPoints' near line 1 column 4071"}} {}
We are getting this error while its trying to convert the CPU metrics to json

sankar
- 268
- 2
- 15