remove telegraf bucket name from getting started with flux template (#13753)

* remove telegraf bucket name
pull/13756/head
Russ Savage 2019-05-02 08:56:50 -07:00 committed by GitHub
parent 391ca7acc1
commit 82eb9099a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
## v2.0.0-alpha.10 [unreleased]
### Features
### Bug Fixes
1. [13753](https://github.com/influxdata/influxdb/pull/13753): Removed hardcoded bucket for Getting Started with Flux dashboard
### UI Improvements
## v2.0.0-alpha.9 [2019-05-01]

View File

@ -2739,7 +2739,7 @@ export const gettingStartedWithFluxTemplate = () => ({
editMode: 'advanced',
name: '',
text:
'from(bucket: "telegraf")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == "cpu")\n |> filter(fn: (r) => r._field == "usage_user")\n |> filter(fn: (r) => r.cpu == "cpu-total")',
'from(bucket: v.bucket)\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == "cpu")\n |> filter(fn: (r) => r._field == "usage_user")\n |> filter(fn: (r) => r.cpu == "cpu-total")',
},
],
shape: 'chronograf-v2',