From 3b42a32ea6e8e3d0ebaa5201f56754958c855420 Mon Sep 17 00:00:00 2001 From: epgif Date: Thu, 23 Oct 2025 14:07:16 -0500 Subject: [PATCH] fix: Update system_metrics path Move from 'examples' to 'influxdata' in influxdata/influxdb3_plugins#17 --- content/shared/influxdb3-cli/create/trigger.md | 2 +- content/shared/influxdb3-plugins/_index.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/shared/influxdb3-cli/create/trigger.md b/content/shared/influxdb3-cli/create/trigger.md index ca3c39a998..13b5aaa550 100644 --- a/content/shared/influxdb3-cli/create/trigger.md +++ b/content/shared/influxdb3-cli/create/trigger.md @@ -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 diff --git a/content/shared/influxdb3-plugins/_index.md b/content/shared/influxdb3-plugins/_index.md index 145a34bfd2..754115f31e 100644 --- a/content/shared/influxdb3-plugins/_index.md +++ b/content/shared/influxdb3-plugins/_index.md @@ -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 @@ -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 ```