cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ingesting custom metric to custom device

JAR
Participant

Hi!!

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

 

 

Br

Jose A

3 REPLIES 3

alvaro_sanchez
Dynatrace Participant
Dynatrace Participant

Hi!

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-... 

Regards,
Álvaro

techean
Dynatrace Pro
Dynatrace Pro

Hi @JAR  let me know if @alvaro_sanchez  suggestion helped you as per your ask.

KG

Hi.

Both ways ingest metric, OK.

But I see a difference, API v1 I can see the metrics in the CUSTOMDEVICE infographic.

Example:

JAR_0-1655811393662.png

 

And with API v2, not.

Example:

JAR_1-1655811419858.png

 

Do you know if this is so? Or should i do something?

 

Thanks 

BR Jose A