You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/shared/v3-core-get-started/_index.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -591,9 +591,9 @@ and a _trigger-spec_, which defines when the plugin is executed and what data it
591
591
InfluxDB 3 provides the following types of triggers, each with specific trigger-specs:
592
592
593
593
- **On WAL flush**: Sends a batch of written data (for a specific table or all tables) to a plugin (by default, every second).
594
-
>- **On Schedule**: Executes a plugin on a user-configured schedule (using a crontab or a duration); useful for data collection and deadman monitoring.
595
-
>- **On Request**: Binds a plugin to a custom HTTP API endpoint at `/api/v3/engine/<PATH>`.
596
-
> The plugin receives the HTTP request headers and content, and can then parse, process, and send the data into the database or to third-party services.
594
+
- **On Schedule**: Executes a plugin on a user-configured schedule (using a crontab or a duration); useful for data collection and deadman monitoring.
595
+
- **On Request**: Binds a plugin to a custom HTTP API endpoint at `/api/v3/engine/<ENDPOINT>`.
596
+
The plugin receives the HTTP request headers and content, and can then parse, process, and send the data into the database or to third-party services.
@@ -368,7 +377,7 @@ def process_scheduled_call(influxdb3_local, time, args=None):
368
377
369
378
Schedule plugins are set with a `trigger-spec` of `schedule:<cron_expression>` or `every:<duration>`. The `args` parameter can be used to pass configuration to the plugin. For example, if we wanted to use the system-metrics example from the Github repo and have it collect every 10 seconds we could use the following trigger definition:
On Request plugins are triggered by a request to an endpoint that you define
381
-
under `/api/v3/engine`.
382
-
When triggered, the plugin receives the shared API, query parameters `Dict[str, str]`,
383
-
request headers `Dict[str, str]`, the request body (as bytes),
384
-
and any arguments passed in the trigger definition.
389
+
On Request plugins are triggered by a request to a custom HTTP API endpoint.
390
+
The plugin receives the shared API, query parameters `Dict[str, str]`, request headers `Dict[str, str]`, the request body (as bytes), and any arguments passed in the trigger definition.
Copy file name to clipboardExpand all lines: content/shared/v3-enterprise-get-started/_index.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -580,9 +580,9 @@ and a _trigger-spec_, which defines when the plugin is executed and what data it
580
580
InfluxDB 3 provides the following types of triggers, each with specific trigger-specs:
581
581
582
582
- **On WAL flush**: Sends a batch of written data (for a specific table or all tables) to a plugin (by default, every second).
583
-
>- **On Schedule**: Executes a plugin on a user-configured schedule (using a crontab or a duration); useful for data collection and deadman monitoring.
584
-
>- **On Request**: Binds a plugin to a custom HTTP API endpoint at `/api/v3/engine/<PATH>`.
585
-
> The plugin receives the HTTP request headers and content, and can then parse, process, and send the data into the database or to third-party services.
583
+
- **On Schedule**: Executes a plugin on a user-configured schedule (using a crontab or a duration); useful for data collection and deadman monitoring.
584
+
- **On Request**: Binds a plugin to a custom HTTP API endpoint at `/api/v3/engine/<ENDPOINT>`.
585
+
The plugin receives the HTTP request headers and content, and can then parse, process, and send the data into the database or to third-party services.
0 commit comments