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

Host unit consume metric

Hi Team,

I would like to get values the HOST UNIT consumption and split by host to show each hostname via api.

compare with last month and latest month is there any metric on api v2 could do that?

ps.  not use dps pricing model

Regards,

4 REPLIES 4

p_devulapalli
Champion

Hi @AskMe-Solutions , there use to be an option to query from V1 API but its deprecated now . Not sure there is something similar available in V2 API yet.

Phani Devulapalli

p_devulapalli
Champion

@AskMe-Solutions If you are fine with some alternate option here is a script created by @Julius_Loman and some alternate options dicussed below

https://community.dynatrace.com/t5/Open-Q-A/How-can-I-vizualize-the-host-consumption-per-host/m-p/21...

 

https://github.com/Alanata-a-s/Dynatrace-License-Reporting-Scripts/tree/master

 

Phani Devulapalli

Hi P_devulapalli,

Yep, if host data in an hour this solution it's work but the limitation is I want the data from like last month and latest month but thanks so much for the solutions.

Regards,

 

 

 

 

TBH I'm not sure what is not possible in your case. My scripted solution of course cannot regenerate data back, but if you keep it running you will be able to report and compare consumption across intervals.

It's probably not wise to run it on a minute-based interval especially in larger environments as the call to OneAgents v1 API takes some time. I'd recommend 15 minutes or 1 hour intervals. 

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts