mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat(env): add average telemetry row size env vars with validation
- introduce parsePositiveNumberFromEnv helper in EnvironmentConfig.ts - add AverageSpan/Log/MetricRowSizeInBytes exports with positive-number parsing and defaults - document AVERAGE_* vars in config.example.env and expose them in docker-compose.base.yml
This commit is contained in:
@@ -204,6 +204,11 @@ BILLING_ENABLED=false
|
||||
BILLING_PUBLIC_KEY=
|
||||
BILLING_PRIVATE_KEY=
|
||||
|
||||
# Average telemetry row sizes in bytes used to estimate usage when reporting to the billing provider.
|
||||
AVERAGE_SPAN_ROW_SIZE_IN_BYTES=1024
|
||||
AVERAGE_LOG_ROW_SIZE_IN_BYTES=1024
|
||||
AVERAGE_METRIC_ROW_SIZE_IN_BYTES=1024
|
||||
|
||||
# Use this when you want to disable incident creation.
|
||||
DISABLE_AUTOMATIC_INCIDENT_CREATION=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user