# 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.