Thanks for your input.
I saw the documentation to create custom metrics [ https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/topology-and-s...]
But wondering how I will feed the variable output of a shell script automatically into the JSON field; so that it will automatically update the chart over time?
I mean how the variable output will be reported to the custom device endpoint automatically in every 1 or 5 min (Say I my script is executing at an interval of 1 or 5 mins and producing output which I need to push in DT)?
Any Script example to refer..? That will help a lot..!