mul
Input Stack:ts2: TimeSeriesExpr | ts1: TimeSeriesExpr |
|
⇨ |
Output Stack:(ts1 * ts2): TimeSeriesExpr | |
|
Compute a new time series where each interval has the value (a * b)
where a
and b
are the corresponding intervals in the input time series. NaN
s in a series
when other series are present are treated as 1
.
Example multiplying a constant:
Example multiplying two series:
Before | After |
| |
name,requestLatency,:eq,
:sum,
name,requestsPerSecond,:eq,
:max,
(,name,),:by
| name,requestLatency,:eq,
:sum,
name,requestsPerSecond,:eq,
:max,
(,name,),:by,
:mul
|