WSGITelemetryOptions
- Description:
Toggle optional captures for the telemetry stream.
- Syntax:
WSGITelemetryOptions [+|-]Flag [+|-]Flag ... | None | All- Default:
All flags off
- Context:
server config
Selects the optional capture flags applied to the telemetry stream emitted by WSGITelemetryService. Each flag enables a specific field or behaviour that is off by default for privacy or volume reasons.
This is a server-wide directive: it may only appear at the top
level of the Apache configuration, outside any <VirtualHost>
block.
Note that, like the telemetry reporter it configures, this directive is not available on Windows. See WSGITelemetryService for details.
Syntax follows the Apache Options directive convention. Two
argument forms are supported, and may not be mixed within one
line:
- Incremental form
+Flagadds a flag to the current state;-Flagremoves it. Multiple flag tokens may appear on one line. SubsequentWSGITelemetryOptionslines layer on top of the previous state, so an earlierWSGITelemetryOptions +CaptureUserAgentfollowed byWSGITelemetryOptions -CaptureUserAgentleaves the flag off.- Absolute form
Noneclears every flag.Allenables every defined flag. The absolute forms replace the current state entirely rather than modifying it, and may not be combined with+or-tokens on the same line.
Flags
CaptureUserAgentWhen set, slow-request records carry the request’s
User-Agentheader value in addition to the request method, URL path, and HTTP status fields that are always present. Off by default because theUser-Agentstring can identify individual clients in some deployments and inflates record size in others.
Additional flags may be added in future releases. The None
and All forms apply to whatever flags are defined at
configuration time, not a fixed historical set.
Validation
A bare
+or-with no flag name is rejected at configuration-parse time.An unknown flag name is rejected.
NoneorAllcombined with+or-tokens on the same line is rejected.
See also
WSGITelemetryService for the parent directive that enables the telemetry stream.
WSGISlowRequests for the threshold controlling which requests appear in the slow-record stream that the
CaptureUserAgentflag extends.The External Telemetry Service for the full telemetry pipeline setup.