Skip to content

Commit 4f8c695

Browse files
fix: remove aggregate function from the Execute query page (first mile) (#4138)
1 parent afcd0d5 commit 4f8c695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/homepageExperience/components/steps/ExecuteQuery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const fromBucketSnippet = `from(bucket: “my-bucket”)
77

88
const query = `query_api = client.query_api()
99
10-
query = "from(bucket: \\"bucket1\\") |> range(start: -10m) |> mean()"
10+
query = "from(bucket: \\"bucket1\\") |> range(start: -10m) |> filter(fn: (r) => r._measurement == "measurement1")"
1111
tables = query_api.query(query, org=org)
1212
1313
for table in tables:

0 commit comments

Comments
 (0)