Skip to content

Commit 671cf2c

Browse files
authored
fix: update sample data and queries in cli onboarding (#5304)
* fix: updated data in CLI onboarding
1 parent 4b45ae5 commit 671cf2c

File tree

6 files changed

+17
-115
lines changed

6 files changed

+17
-115
lines changed

assets/images/sample-csv.png

886 Bytes
Loading

src/homepageExperience/assets/sample.csv

Lines changed: 0 additions & 95 deletions
This file was deleted.

src/homepageExperience/components/steps/cli/ExecuteAggregateQuery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const ExecuteAggregateQuery = (props: OwnProps) => {
3030
|> filter(fn: (r) => r.measurement == "temperature")
3131
|> mean()`
3232

33-
const codeSnippet = `influx query 'from(bucket:"${bucketName}") |> range(start:-10m) |> mean()' --raw`
33+
const codeSnippet = `influx query 'from(bucket:"${bucketName}") |> range(start:-30m) |> mean()' --raw`
3434

3535
useEffect(() => {
3636
const fireKeyboardCopyEvent = event => {

src/homepageExperience/components/steps/cli/ExecuteQuery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type OwnProps = {
2323
export const ExecuteQuery = (props: OwnProps) => {
2424
const {bucket} = props
2525
const bucketName = bucket === DEFAULT_BUCKET ? 'sample-bucket' : bucket
26-
const query = `influx query 'from(bucket:"${bucketName}") |> range(start:-10m)' --raw`
26+
const query = `influx query 'from(bucket:"${bucketName}") |> range(start:-30m)' --raw`
2727

2828
const fluxExample = `from(bucket: “weather-data”)
2929
|> range(start: -10m)

0 commit comments

Comments
 (0)