Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetricsHandler ¶
func NewCommand ¶
NewCommand returns the cobra command for "metricsbridge".
Types ¶
type MetricsConfig ¶
type MetricsConfig struct { Interval time.Duration `json:"intervalNanoseconds,omitempty"` PrometheusEndpoint string `json:"prometheusEndpoint,omitempty"` StatsdSocket string `json:"statsdSocket,omitempty"` Queries []struct { Name string `json:"name,omitempty"` Query string `json:"query,omitempty"` } `json:"queries,omitempty"` Account string `json:"account,omitempty"` Namespace string `json:"namespace,omitempty"` Region string `json:"region,omitempty"` SubscriptionID string `json:"subscriptionId,omitempty"` ResourceGroupName string `json:"resourceGroupName,omitempty"` ResourceName string `json:"resourceName,omitempty"` Token string `json:"token,omitempty"` InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"` // contains filtered or unexported fields }
MetricsConfig stores the configuration of the metricsbridge application
Click to show internal directories.
Click to hide internal directories.