Monitoring Configuration
Stats and metricsβ
Snowbridge comes with configurable logging, pprof profiling, statsD statistics and Sentry integrations to ensure that you know whatβs going on.
Loggingβ
Use the log_level parameter to specify the log level.
assets/docs/configuration/monitoring/log-level-example.hcl
loading...
Sentry Configurationβ
assets/docs/configuration/monitoring/sentry-example.hcl
loading...
StatsD stats receiverβ
assets/docs/configuration/monitoring/statsd-example.hcl
loading...
Snowbridge sends the following metrics to statsd:
Metric | Definitions |
---|---|
target_success | Events successfully sent to the target. |
target_failed | Events which failed to reach the target, after 5 retries. Will be retried later. |
message_filtered | Events filtered out via transformation. |
failure_target_success | Events we could not send to the target, which are not retryable, successfully sent to the failure target. |
failure_target_failed | Events we could not send to the target, which are not retryable, which we failed to send to the failure target. In this scenario, Snowbridge will crash. |
min_processing_latency | Min time between entering Snowbridge and write to target/failure target. |
max_processing_latency | Max time between entering Snowbridge and write to target/failure target. |
avg_processing_latency | Avg time between entering Snowbridge and write to target/failure target. |
min_message_latency | Min time between entering the source stream and write to target/failure target. |
max_message_latency | Max time between entering the source stream and write to target/failure target. |
avg_message_latency | Avg time between entering the source stream and write to target/failure target. |
min_transform_latency | Min time between entering Snowbridge and completion of transformation. |
max_transform_latency | Max time between entering Snowbridge and completion of transformation. |
avg_transform_latency | Avg time between entering Snowbridge and completion of transformation. |
min_filter_latency | Min time between entering Snowbridge and being filtered out. |
max_filter_latency | Max time between entering Snowbridge and being filtered out. |
avg_filter_latency | Avg time between entering Snowbridge and being filtered out. |
min_request_latency | Min time between starting request to target and finishing request to target. |
max_request_latency | Max time between starting request to target and finishing request to target. |
avg_request_latency | Avg time between starting request to target and finishing request to target. |