15 Jun 2022 03:09 AM - last edited on 19 Oct 2022 06:22 AM by MaciejNeumann
Is it possible to ingest a custom metric (via API v2) to a customDevice?
I see in the documentation the example to a HOST-id, but not to CustomDevice-id
Solved! Go to Solution.
You have a couple of options here:
- You can use that same API v2 ingest endpoint only using a dt.entity.custom_device as the dimension to filter by. That way you can then create a chart in the data explorer that you can filter by custom device.
- There's also a specific endpoint, using a different format, for the reporting of metrics to custom devices: https://www.dynatrace.com/support/help/dynatrace-api/environment-api/topology-and-smartscape/custom-...
Both ways ingest metric, OK.
But I see a difference, API v1 I can see the metrics in the CUSTOMDEVICE infographic.
And with API v2, not.
Do you know if this is so? Or should i do something?
BR Jose A