Documentation ¶
Index ¶
Constants ¶
View Source
const (
Namespace = "az"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContinuousRecorder ¶
type TeleConfig ¶
type TeleConfig struct { PushTelemetry bool `help:"Push telemetry to Push Gateway" env:"PUSH_TELEMETRY" optional:""` PrintTelemetry bool `help:"Logs telemetry as info" env:"PRINT_TELEMETRY" optional:""` PushGatewayUrl string `help:"Address of Push Gateway" env:"PUSH_GATEWAY_URL" default:"http://localhost:9091"` TelemetryJobName string `help:"Name for the job" env:"TELEMETRY_JOB_NAME" default:"az"` TelemetryJobId string `help:"Job identifier (random id by default)" env:"TELEMETRY_JOB_ID" optional:""` PushGatewayUpdateRate time.Duration `help:"Defines how often push will be made" env:"PUSH_GATEWAY_UPDATE_RATE" default:"60s"` }
func (TeleConfig) NewRecorder ¶
func (c TeleConfig) NewRecorder() ContinuousRecorder
Click to show internal directories.
Click to hide internal directories.