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

# Packages

No description provided by the author
Package instance provides a mini Prometheus scraper and remote_writer.
No description provided by the author

# Functions

ListTargetsHandler renders a mapping of instance to target set.
New creates and starts a new Agent.
NewWALCleaner creates a new cleaner that looks for abandoned WALs in the given directory and removes them if they haven't been modified in over minAge.

# Constants

Default settings for the WAL cleaner.
Default settings for the WAL cleaner.

# Variables

DefaultConfig is the default settings for the Prometheus-lite client.

# Structs

Agent is an agent for collecting Prometheus metrics.
Config defines the configuration for the entire set of Prometheus client instances, along with a global configuration.
TargetInfo describes a specific target.
WALCleaner periodically checks for Write Ahead Logs (WALs) that are not associated with any active instance.ManagedInstance and have not been written to in some configured amount of time and deletes them.

# Type aliases

ListTargetsResponse is returned by the ListTargetsHandler.
TargetSet is a set of targets for an individual scraper.