04 Dec 2018 06:58 AM - last edited on 18 May 2023 05:03 PM by Michal_Gebacki
04 Dec 2018 07:58 AM
According to my knowledge about Dynatrace SDK it's not possible to write such plugin. Plugins are related to different level of data than such thing. If I understand you properly you need rest endpoints about license usage?
04 Dec 2018 08:07 AM
Hi Sebastian, Thanks for quick response. I apologies about explaining problem statement at first, Yes I'm looking for rest endpoints for license usage of dynatrace oneagent.
Thanks
Krunal
05 Dec 2018 03:16 AM
Hi Krunal, have a look at the /entity/infrastructure/hosts endpoint. Calls to this endpoint result in a JSON containing host info. One of the JSON values is: "consumedHostUnits": 1
05 Dec 2018 02:20 PM
@ Adam - thanks for prompt reply.
Yes we did figured out yesterday about the /entity/infrastructure/hosts endpoint, and now we are able to calculate used license.
Thanks
Krunal