18 Jan 2018 07:28 PM
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.
18 Jan 2018 09:22 PM
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.
18 Jan 2018 09:25 PM
Got it, thank you for the reply.