package
0.44.2
Repository: https://github.com/grafana/agent.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package docker implements the discovery.docker component.
No description provided by the author
No description provided by the author
No description provided by the author
Package gce implements the discovery.gce component.
No description provided by the author
No description provided by the author
No description provided by the author
Package kubelet implements a discovery.kubelet component.
Package kubernetes implements a discovery.kubernetes component.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

New creates a discovery component given arguments and a concrete Discovery implementation function.
NewDistributedTargets creates the abstraction that allows components to dynamically shard targets between components.

# Variables

MaxUpdateFrequency is the minimum time to wait between updating targets.

# Structs

Component is a reusable component for any discovery implementation.
DistributedTargets uses the node's Lookup method to distribute discovery targets when a Flow component runs in a cluster.
Exports holds values which are exported by all discovery components.

# Type aliases

Creator is a function provided by an implementation to create a concrete Discoverer instance.
Discoverer is an alias for Prometheus' Discoverer interface, so users of this package don't need to import github.com/prometheus/prometheus/discover as well.
Target refers to a singular discovered endpoint found by a discovery component.