Skip to main content

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:

MetricDefinitions
target_successEvents successfully sent to the target.
target_failedEvents which failed to reach the target, after 5 retries. Will be retried later.
message_filteredEvents filtered out via transformation.
failure_target_successEvents we could not send to the target, which are not retryable, successfully sent to the failure target.
failure_target_failedEvents 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_latencyMin time between entering Snowbridge and write to target/failure target.
max_processing_latencyMax time between entering Snowbridge and write to target/failure target.
avg_processing_latencyAvg time between entering Snowbridge and write to target/failure target.
min_message_latencyMin time between entering the source stream and write to target/failure target.
max_message_latencyMax time between entering the source stream and write to target/failure target.
avg_message_latencyAvg time between entering the source stream and write to target/failure target.
min_transform_latencyMin time between entering Snowbridge and completion of transformation.
max_transform_latencyMax time between entering Snowbridge and completion of transformation.
avg_transform_latencyAvg time between entering Snowbridge and completion of transformation.
min_filter_latencyMin time between entering Snowbridge and being filtered out.
max_filter_latencyMax time between entering Snowbridge and being filtered out.
avg_filter_latencyAvg time between entering Snowbridge and being filtered out.
min_request_latencyMin time between starting request to target and finishing request to target.
max_request_latencyMax time between starting request to target and finishing request to target.
avg_request_latencyAvg time between starting request to target and finishing request to target.