Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsOptions ¶
type MetricsOptions struct { Datadog struct { ApiKey string `long:"datadog-apikey" description:"Datadog app key to enable datadog metrics reporting."` Tags string `` /* 126-byte string literal not displayed */ Interval time.Duration `long:"datadog-report-interval" default:"60s" description:"Data collection and reporting interval."` StatsDAddress string `long:"datadog-statsd-address" description:"Address of statsd,e.g. 127.0.0.1:8125"` } Inputs struct { // Prefix to apply to all metrics. This must not be empty. MetricsPrefix string `validate:"required"` // Disable capture of runtime metrics for some reasons NoRuntimeMetrics bool } // contains filtered or unexported fields }
func (*MetricsOptions) Initialize ¶
func (opts *MetricsOptions) Initialize()
type MetricsPrefix ¶
type MetricsPrefix string
Click to show internal directories.
Click to hide internal directories.