Observability Policy
Policy for SDK observability features including logging, tracing, and metrics.
Security (ISO 27001 A.12.4): All observability features are opt-in with secure defaults to prevent accidental data leakage. Remote transmission requires explicit endpoint configuration.
Privacy (GDPR Art. 5): No PII is collected by default. Remote logging and tracing require explicit opt-in with appropriate legal basis.
Since
0.4.0
Constructors
Properties
Enable correlation ID propagation across operations
Enable debug features (debug builds only)
Configured logging sinks (default: Logcat only)
Enable metrics collection for monitoring
Metrics export interval in milliseconds
Enable network request/response logging (debug only)
OTLP/HTTP endpoint for trace export (null = disabled)
Enable multi-sink structured logging
Sampling rate for traces (0.0 to 1.0)
Enable OpenTelemetry-compatible distributed tracing