16 Jul 2023 11:35 PM
I have trying to test some thresholds but cannot ingest customer metric data via the v2api /metrics/injest
ext:tech.IBMMQ_Java.Queue.Depth
Data Body:
ext:tech.IBMMQ_Java.Queue.Depth,Queue=FRED.LOG.DATA 2780
The v2 api returns the following error:
failed to parse metric key of message 'ext:tech.IBMMQ_Java.Queue.Depth,Queue=FRED.LOG.DATA 278'; error at ':' (index 3)
I have tried various methods of escaping the ':' but would like an example of how this is done.
Solved! Go to Solution.
17 Jul 2023 06:40 AM
Hey David,
As per the following documentation when using the metric ingestion API you cannot use ':' in the metric key as well as uppercase characters in dimensions.
Metric ingestion protocol | Dynatrace Docs
Hope this helps!
17 Jul 2023 01:29 PM
It seems you are trying to ingest custom data in a extension metric (almost builtin), which I don't think it is possible.