04 Jun 2025 02:52 PM
Hello,
What if you have to time series and you want to add/subtract them to create a new one......
Can this be done, or a I over asking?
KR Henk
Solved! Go to Solution.
04 Jun 2025 03:05 PM
Hello.
Are you looking for something like the following?
BR
04 Jun 2025 03:31 PM
Hello Theodore,
Thanks for you answer, yes this is wat I like to see... But here comes then but (sorry) I want to see this in DQL so I can use the result in a Dashboard GenV3,
KR Henk
04 Jun 2025 03:42 PM
Then you have to go with this I think:
https://docs.dynatrace.com/docs/shortlink/metrics-selector-conversion#arithmetic
04 Jun 2025 08:59 PM
The concept is called "iterative expressions"
There are few examples on DQL for Metrics page like this one: https://docs.dynatrace.com/docs/analyze-explore-automate/metrics/dql-examples#example-9-connection-f...
e.g.
timeseries {
new = sum(dt.process.network.sessions.new),
{reset = sum(dt.process.network.sessions.reset), default:0},
{timeout = sum(dt.process.network.sessions.timeout), default:0}
},
by:{dt.entity.host}
| fieldsAdd result = 100 * (reset[] + timeout[]) / new[]
more details in dedicated section:
04 Jun 2025 10:34 PM
Hi Krysztof,
You are absolutely right, thanks,
KR Henk