mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat(telemetry): account for Exceptions in usage billing and add avg exception row size
- Update TelemetryUsageBilling description to include Exceptions. - Add AverageExceptionRowSizeInBytes env/config (env example, docker-compose, Helm values & schema). - Use ExceptionInstanceService in TelemetryUsageBillingService to include exception row counts when estimating bytes for Traces. - Add helper to read average exception row size and adjust billing calculations.
This commit is contained in:
@@ -208,6 +208,7 @@ BILLING_PRIVATE_KEY=
|
||||
AVERAGE_SPAN_ROW_SIZE_IN_BYTES=1024
|
||||
AVERAGE_LOG_ROW_SIZE_IN_BYTES=1024
|
||||
AVERAGE_METRIC_ROW_SIZE_IN_BYTES=1024
|
||||
AVERAGE_EXCEPTION_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