Skip to content

Commit c248d9f

Browse files
authored
fix: Update system_metrics path (#6481)
Move from 'examples' to 'influxdata' in influxdata/influxdb3_plugins#17
1 parent 61269f3 commit c248d9f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/shared/influxdb3-cli/create/trigger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ influxdb3 create trigger [OPTIONS] \
3838
| | `--help-all` | Print detailed help information |
3939

4040
If you want to use a plugin from the [Plugin Library](https://github.com/influxdata/influxdb3_plugins) repo, use the URL path with `gh:` specified as the prefix.
41-
For example, to use the [System Metrics](https://github.com/influxdata/influxdb3_plugins/blob/main/examples/schedule/system_metrics/system_metrics.py) plugin, the plugin filename is `gh:examples/schedule/system_metrics/system_metrics.py`.
41+
For example, to use the [System Metrics](https://github.com/influxdata/influxdb3_plugins/blob/main/influxdata/system_metrics/system_metrics.py) plugin, the plugin filename is `gh:influxdata/system_metrics/system_metrics.py`.
4242

4343

4444
### Option environment variables

content/shared/influxdb3-plugins/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Clone the `influxdata/influxdb3_plugins` repository and copy plugins to your con
131131
git clone https://github.com/influxdata/influxdb3_plugins.git
132132

133133
# Copy a plugin to your configured plugin directory
134-
cp influxdb3_plugins/examples/schedule/system_metrics/system_metrics.py /path/to/plugins/
134+
cp influxdb3_plugins/influxdata/system_metrics/system_metrics.py /path/to/plugins/
135135
```
136136

137137
##### Option 2: Reference plugins directly from GitHub
@@ -142,7 +142,7 @@ Skip downloading plugins by referencing them directly from GitHub using the `gh:
142142
# Create a trigger using a plugin from GitHub
143143
influxdb3 create trigger \
144144
--trigger-spec "every:1m" \
145-
--plugin-filename "gh:examples/schedule/system_metrics/system_metrics.py" \
145+
--plugin-filename "gh:influxdata/system_metrics/system_metrics.py" \
146146
--database my_database \
147147
system_metrics
148148
```

0 commit comments

Comments
 (0)