Skip to content

Commit 4e6c71b

Browse files
authored
Update 00 InfluxDB.md (#1244)
The InfluxDB V2 API alllows: org orgID bucket As parameters for the write API. K6 uses "org" which is not the orgID. the documentation is misleading, and this commit fixes that. Also it makes it more explicit that you need the bucket name and not the bucket id.
1 parent a629c40 commit 4e6c71b

File tree

1 file changed

+5
-5
lines changed
  • src/data/markdown/translated-guides/en/04 Results output/200 Real-time

1 file changed

+5
-5
lines changed

src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Check that the InfluxDB instance to store the k6 metrics is running.
1616
Use the previous k6 binary and run the test passing the following [options](#options):
1717

1818
```bash
19-
K6_INFLUXDB_ORGANIZATION="<INFLUXDB-ORGANIZATION-ID>" \
20-
K6_INFLUXDB_BUCKET="<INFLUXDB-BUCKET>" \
19+
K6_INFLUXDB_ORGANIZATION="<INFLUXDB-ORGANIZATION-NAME>" \
20+
K6_INFLUXDB_BUCKET="<INFLUXDB-BUCKET-NAME>" \
2121
K6_INFLUXDB_TOKEN="<INFLUXDB-TOKEN>" \
2222
K6_INFLUXDB_ADDR="<INFLUXDB-HTTP-ADDRESS>" \
2323
./k6 run script.js -o xk6-influxdb
@@ -37,8 +37,8 @@ Here is the full list of options that can be configured and passed to the extens
3737

3838
| ENV | Default | Description |
3939
|-----|---------|-------------|
40-
| K6_INFLUXDB_ORGANIZATION | | Your InfluxDB organization ID. [View organizations](https://docs.influxdata.com/influxdb/v2.7/organizations/). |
41-
| K6_INFLUXDB_BUCKET | | The bucket to store k6 metrics data. [Manage buckets](https://docs.influxdata.com/influxdb/v2.7/organizations/buckets/). |
40+
| K6_INFLUXDB_ORGANIZATION | | Your InfluxDB organization name. [View organizations](https://docs.influxdata.com/influxdb/v2.7/organizations/). |
41+
| K6_INFLUXDB_BUCKET | | The bucket name to store k6 metrics data. [Manage buckets](https://docs.influxdata.com/influxdb/v2.7/organizations/buckets/). |
4242
| K6_INFLUXDB_TOKEN | | An API token that provides authorized access to store data. [Manage API tokens](https://docs.influxdata.com/influxdb/v2.7/security/tokens/). |
4343
| K6_INFLUXDB_ADDR | http://localhost:8086 | The address of the InfluxDB instance. |
4444
| K6_INFLUXDB_PUSH_INTERVAL | 1s | The flush's frequency of the `k6` metrics. |
@@ -53,4 +53,4 @@ You can use Grafana to query and visualize data from an InfluxDB instance. The i
5353

5454
You can also build a [custom Grafana dashboard](/results-output/grafana-dashboards/) to visualize the testing results in your own way.
5555

56-
For testing purposes, the [influxdb extension](https://github.com/grafana/xk6-output-influxdb) repository includes a [docker-compose setup](https://github.com/grafana/xk6-output-influxdb#docker-compose) with two basic dashboards.
56+
For testing purposes, the [influxdb extension](https://github.com/grafana/xk6-output-influxdb) repository includes a [docker-compose setup](https://github.com/grafana/xk6-output-influxdb#docker-compose) with two basic dashboards.

0 commit comments

Comments
 (0)