DQL
Questions about Dynatrace Query Language
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

billing metrics

marusla
Participant

is there a way to see this metrics builtin:billing.full_stack_monitoring.usage_per_host:splitBy("dt.entity.host"):sort(value(auto,descending)):limit(20) in a new dashboard, or in dql

1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend

@marusla  is this what you want?

fetch dt.system.events
| filter event.kind == "BILLING_USAGE_EVENT" and event.type == "Full-Stack Monitoring"
| dedup event.id
| makeTimeseries billed_gibibyte=sum(billed_gibibyte_hours),by:{dt.entity.host}
| fieldsAdd dt.entity.host.name = entityName(dt.entity.host)
Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts