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

This product reached the end of support date on March 31, 2021.

Delivering Histogram data via REST API

Hi

I have a use case for delivering some histogram data via the REST API and have tried a number of different option but to no avail. I'm generally using the excellent REST API Helper to build the request body, but this doesn't appear to support histogram.

I'm looking for any examples of how to extract.... specifically I'm looking to extract the number of operations that fall into buckets of operation time, say 0-2, 2-4, 4-7, 7-10, >10 seconds for a specified Software Service.

Thanks

3 REPLIES 3

I've seen this post:

https://answers.dynatrace.com/questions/137820/how-many-dimension-filter-values-are-allowed-in-a.html

Which discusses adding a system property of DMI_REST_EXPORT_USERS with appropriate users who can use a menu option to view the REST Query to use to match the report section.

However, this doesn't quite work with histograms.

I get:

{
"appId": "CVENT",
"viewId": "ClientView",
"dataSourceId": "ALL_AGGR",
"dimensionIds": [
"begT",
"dHist_transTime"
],
"metricIds": [
"trans"
],
"dimFilters": [
[
"appl",
"myapp*",
"false"
]
],
"metricFilters": [],
"sort": [
[
"begT",
"ASC"
]
],
"top": 1000,
"resolution": "r",
"timePeriod": "1period",
"numberOfPeriods": 0,
"timeBegin": 1490374500000,
"timeEnd": 1490374800000
}

Which has a histogram dimension but doesn't define buckets, so doesn't quite work.

Anyone?

Hi, I'm afraid histograms are not supported by our DMI REST API.

Hmmm.. in which case, can this be added as it seems to be quite an omission.