influxdb3-plugin-sdk 0.6.0

Author-side packaging library for InfluxDB 3 plugins.
Documentation
1
2
3
4
5
6
7
8
9
10
"""Plugin entry point for the `process_request` trigger."""


def process_request(influxdb3_local, query_params, request_headers, request_body, args=None):
    """Echo request inputs as a JSON response. Replace with your own handler."""
    return {
        "query_params": dict(query_params),
        "request_headers": dict(request_headers),
        "request_body": request_body.decode("utf-8", errors="replace"),
    }