Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/shared/influxdb3-cli/create/trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ influxdb3 create trigger [OPTIONS] \
| | `--help-all` | Print detailed help information |

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.
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`.
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`.


### Option environment variables
Expand Down
4 changes: 2 additions & 2 deletions content/shared/influxdb3-plugins/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Clone the `influxdata/influxdb3_plugins` repository and copy plugins to your con
git clone https://github.com/influxdata/influxdb3_plugins.git

# Copy a plugin to your configured plugin directory
cp influxdb3_plugins/examples/schedule/system_metrics/system_metrics.py /path/to/plugins/
cp influxdb3_plugins/influxdata/system_metrics/system_metrics.py /path/to/plugins/
```

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