Documentation ¶
Overview ¶
Package monitoring contains helpers for application monitoring. Currently configured to use sentry.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Flags = flag.Flags{ &flag.Boolean{ Name: "monitoring-disabled", Usage: "Disables application monitoring", EnvVar: "MONITORING_DISABLED", Destination: &config.disabled, }, &flag.String{ Name: "monitoring-environment", Usage: "Environment to use when writing to application monitoring", EnvVar: "MONITORING_ENVIRONMENT", Destination: &config.environment, Value: "development", }, &flag.String{ Name: "monitoring-dsn", Usage: "DSN to use for sending reports to sentry", EnvVar: "MONITORING_DSN", Destination: &config.dsn, }, }
Flags contains all command-line flags that can be used to configure monitoring.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.