I would like to construct a timeseries that includes a set number of the highest values, plus an additional aggregated category named ‘Other.’ This ‘Other’ category should represent the sum of all the remaining values not included in the set limit of highest values :
After producing timeseries for all IPs
- you need to collect them in single array,
- sort it by chosen order (I selected sum of all value in timeseries as a ordering criteria, kept in o field of the record)
- remember the 10th value from the array in fields top
- expand and summarize again by srcaddr, but it will be replaced with “Other” word when value of o field is lower then remembered threshold (top)
I don’t understand why there is the “C” value here. What does it mean ?
Also Does Dynatrace plan to release an “useother” option for Timeseries like competitor?
Example :
Syntax: useother=<bool>
Description: You specify which series to include in the results table by using the <agg>, <limit>, and <where-clause> options. The useother option specifies whether to merge all of the series not included in the results table into a single new series. If useother=true, the label for the series is controlled by the otherstr option.
Apparently there are record where srcaddr is null. When the dimension (name of timeseries) is null, the timeseries field name (c) is used in chart legend. To confirm this, you can display your data in form of table or record list.
Also I agree with you that ‘useother’ option would be very useful. Moreover such extension would be needed not only as a part makeTimeseries, but also as a part of timeseries for out native metrics. Please go ahead with RFE.
On the other side, DQL is flexible and powerful enough so such data manipulations are possible before implementation of specialized features happens.