Dynatrace dimension length constraint not honored
See original GitHub issueHi,
We are enabling Dynatrace Register for micrometer. Below is the output we get. It seems like the URI is too long for the dimension accepted in Dynatrace. Any suggested workarounds for this?
2020-11-05 14:02:09.920 lvl=ERROR : failed to send metrics to dynatrace: { "error": { "code": 400, "message": "Constraints violated.", "constraintViolations": [ { "path": "series[68].dimensions.uri", "message": "Value exceeds maximum length.Maximum value length: 128 (inclusively).", "parameterLocation": "PAYLOAD_BODY", "location": null }, { "path": "series[70].dimensions.uri", "message": "Value exceeds maximum length.Maximum value length: 128 (inclusively).", "parameterLocation": "PAYLOAD_BODY", "location": null }, { "path": "series[69].dimensions.uri", "message": "Value exceeds maximum length.Maximum value length: 128 (inclusively).", "parameterLocation": "PAYLOAD_BODY", "location": null }, { "path": "series[67].dimensions.uri", "message": "Value exceeds maximum length.Maximum value length: 128 (inclusively).", "parameterLocation": "PAYLOAD_BODY", "location": null } ] } }
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (8 by maintainers)
Top GitHub Comments
Hi @jonatan-ivanov, I implemented a fix for this (see #2575).
I reached out to the Dynatrace OSS Team, here’s their answer: