telemetry

package
v0.0.0-...-d5a6f8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

package telemetry

This package defines Autodiscovery's telemetry metrics.

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

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// ScheduledConfigs tracks how many configs are scheduled.
	ScheduledConfigs telemetry.Gauge
	// WatchedResources tracks how many resources are watched by AD listeners.
	WatchedResources telemetry.Gauge
	// Errors tracks the current number of AD configs with errors by AD providers.
	Errors telemetry.Gauge
	// PollDuration tracks the configs poll duration by AD providers.
	PollDuration telemetry.Histogram
}

Store holds all the telemetry metrics for Autodiscovery.

func NewStore

func NewStore(telemetryComp telemetry.Component) *Store

NewStore returns a new Store.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL