Telemetry settings
- enable_request_traces (bool): Export traces at the request level
- enable_plugin_traces (bool): Export traces at the plugin/action level
- extra_params (object): Key-value metadata to include with telemetry
- exporters (array): List of exporters with name and provider-specific settings
- header_mapping (object): Map internal telemetry fields to incoming HTTP headers
Example: policy with telemetry
Tips
- Start with request traces, then add plugin traces for deeper diagnostics
- Use header mapping to propagate correlation IDs from your clients
- Include stable fields in extra_params (e.g., app_id, tenant) to segment telemetry
- Send data to multiple exporters if you use more than one backend (e.g., Kafka + TrustLens)