mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
added support for influxdb non_negative_difference function in tsdb
This commit is contained in:
parent
8cb1e5b918
commit
13974cdd28
@ -24,7 +24,7 @@ func TestInfluxdbQueryPart(t *testing.T) {
|
||||
{mode: "count", params: []string{}, input: "distinct(value)", expected: `count(distinct(value))`},
|
||||
{mode: "mode", params: []string{}, input: "value", expected: `mode(value)`},
|
||||
{mode: "cumulative_sum", params: []string{}, input: "mean(value)", expected: `cumulative_sum(mean(value))`},
|
||||
{mode: "non_negative_difference", params: []string{}, input: "max("value")", expected: `non_negative_difference(max("value"))`},
|
||||
{mode: "non_negative_difference", params: []string{}, input: "max(value)", expected: `non_negative_difference(max(value))`},
|
||||
}
|
||||
|
||||
queryContext := &tsdb.TsdbQuery{TimeRange: tsdb.NewTimeRange("5m", "now")}
|
||||
|
Loading…
Reference in New Issue
Block a user