1from plain.runtime import Secret
2
3CONNECT_EXPORT_ENABLED: bool = True # Set to False to disable all OTEL reporting
4CONNECT_EXPORT_URL: str = "https://ingest.plainframework.com"
5CONNECT_EXPORT_TOKEN: Secret[str] = "" # Auth token for the export endpoint
6CONNECT_TRACE_SAMPLE_RATE: float = 1.0 # 0.0–1.0, probability of exporting a trace
7CONNECT_EXPORT_LOGS: bool = True # Set to False to disable OTLP log export
8# Minimum severity exported via OTLP logs. Accepts a level name ("INFO",
9# "DEBUG", ...) or the integer level value.
10CONNECT_LOG_LEVEL: str = "INFO"