Documentation ¶
Overview ¶
Package telemetry defines the Autodiscovery telemetry metrics.
Index ¶
Constants ¶
View Source
const ( // ResourceKubeService represents kubernetes service entities ResourceKubeService = "k8s_service" // ResourceKubeEndpoint represents kubernetes endpoint entities ResourceKubeEndpoint = "k8s_endpoint" )
Variables ¶
View Source
var ( // ScheduledConfigs tracks how many configs are scheduled. ScheduledConfigs = telemetry.NewGaugeWithOpts( subsystem, "scheduled_configs", []string{"provider", "type"}, "Number of configs scheduled in Autodiscovery by provider and type.", commonOpts, ) // WatchedResources tracks how many resources are watched by AD listeners. WatchedResources = telemetry.NewGaugeWithOpts( subsystem, "watched_resources", []string{"listener", "kind"}, "Number of resources watched in Autodiscovery by listener and kind.", commonOpts, ) // Errors tracks the current number of AD configs with errors by AD providers. Errors = telemetry.NewGaugeWithOpts( subsystem, "errors", []string{"provider"}, "Current number of Autodiscovery configs with errors by provider.", commonOpts, ) // PollDuration tracks the configs poll duration by AD providers. PollDuration = telemetry.NewHistogramWithOpts( subsystem, "poll_duration", []string{"provider"}, "Poll duration distribution by config provider (in seconds).", prometheus.DefBuckets, telemetry.Options{NoDoubleUnderscoreSep: true}, ) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.