Is it possible for a custom Dynatrace plugin to dynamically read keys from the JSON document that an endpoint serves?
Using this as an example -
{"counter": 147, "random": 907}
Say a new key/value pair is added to the endpoint - can the plugin detect this, or does every key have to be hardcoded in the plugin?
{"counter": 147, "random": 907, "new": 4}
Solved! Go to Solution.
Are you asking if the set of metrics returned by a Dynatrace custom plugin can be dynamic? That's unfortunately not possible at the moment. Set of returned metrics has to be defined in plugin descriptor.
Got it, thank you for the reply.