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
influxdb3_local.info("This is an info message with an object", obj_to_log)
220
220
```
221
221
222
+
### Trigger Settings
223
+
224
+
#### Run Asynchronously
225
+
Triggers can be optionally configured to run asynchronously. This is enabled in the CLI via the `--run-asynchronously` flag.
226
+
If this flag is set individual instances of the trigger will run simultaneously.
227
+
228
+
#### Error Behavior
229
+
By default, errors in a plugin will simply be _logged_, writing to the server output and the system.processing_engine_logs system table.
230
+
This behavior can be changed by specifying the "Error behavior", via the `--error-behavior` flag. Apart from the default `log`, you may set
231
+
232
+
*`--error-behavior retry` will immediately the plugin in the event of error.
233
+
*`--error-behavior disable` will turn off the plugin as soon as an error occurs. You can enable it again using the CLI.
234
+
222
235
### Trigger arguments
223
236
224
237
A plugin can receive arguments from the trigger that runs it.
@@ -388,6 +401,7 @@ influxdb3 create trigger \
388
401
389
402
On Request plugins are triggered by a request to a custom HTTP API endpoint.
390
403
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.
404
+
The response conventions for On Request plugins follows Flask conventions, as detailed [here](https://flask.palletsprojects.com/en/stable/quickstart/#about-responses).
0 commit comments