Commit e6bccc5e by Torkel Ödegaard

feat(influxdb): Added new functions moving_average and difference to query editor, closes #4698

parent 1b262d33
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
* **Graphite PNG*: Fixed issue graphite png rendering option, fixes [#4864](https://github.com/grafana/grafana/issues/4864) * **Graphite PNG*: Fixed issue graphite png rendering option, fixes [#4864](https://github.com/grafana/grafana/issues/4864)
* **InfluxDB**: Fixed issue missing plus group by iconn, fixes [#4862](https://github.com/grafana/grafana/issues/4862) * **InfluxDB**: Fixed issue missing plus group by iconn, fixes [#4862](https://github.com/grafana/grafana/issues/4862)
### Enhancements
* **InfluxDB**: Added new functions moving_average and difference to query editor, closes [#4698](https://github.com/grafana/grafana/issues/4698)
# 3.0.0-beta6 (2016-04-29) # 3.0.0-beta6 (2016-04-29)
### Enhancements ### Enhancements
......
influxdb: influxdb:
image: tutum/influxdb:latest image: tutum/influxdb:0.12
ports: ports:
- "2004:2004" - "2004:2004"
- "8083:8083" - "8083:8083"
......
...@@ -240,6 +240,24 @@ QueryPartDef.register({ ...@@ -240,6 +240,24 @@ QueryPartDef.register({
}); });
QueryPartDef.register({ QueryPartDef.register({
type: 'difference',
addStrategy: addTransformationStrategy,
category: categories.Transformations,
params: [],
defaultParams: [],
renderer: functionRenderer,
});
QueryPartDef.register({
type: 'moving_average',
addStrategy: addTransformationStrategy,
category: categories.Transformations,
params: [{ name: "window", type: "number", options: [5, 10, 20, 30, 40]}],
defaultParams: [10],
renderer: functionRenderer,
});
QueryPartDef.register({
type: 'stddev', type: 'stddev',
addStrategy: addTransformationStrategy, addStrategy: addTransformationStrategy,
category: categories.Transformations, category: categories.Transformations,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment