Skip to content

Commit

Permalink
remove telegraf bucket name from getting started with flux template (#…
Browse files Browse the repository at this point in the history
…13753)

* remove telegraf bucket name
  • Loading branch information
russorat authored May 2, 2019
1 parent 391ca7a commit 82eb909
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion ui/src/templates/constants/defaultTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 82eb909

Please sign in to comment.