# Functions
MarshalConfig marshals an instance config based on a provided content type.
MarshalConfigToWriter marshals a config to an io.Writer.
New creates a new Instance with a directory for storing the WAL.
NewBasicManager creates a new BasicManager.
NewMetricValueCollector creates a new MetricValueCollector.
UnmarshalConfig unmarshals an instance config from a reader based on a provided content type.
# Variables
DefaultBasicManagerConfig is the default config for the BasicManager.
Default configuration values.
# Structs
BasicManager creates a new BasicManager, implementing the Manager interface.
BasicManagerConfig controls the operations of a BasicManager.
Config is a specific agent that runs within the overall Prometheus agent.
ErrInvalidUpdate is returned whenever Update is called against an instance but an invalid field is changed between configs.
Instance is an individual metrics collector and remote_writer.
MetricValueCollector wraps around a Gatherer and provides utilities for pulling metric values from a given metric name and label matchers.
MockManager exposes methods of the Manager interface as struct fields.
# Interfaces
ManagedInstance is implemented by Instance.
Manager represents a set of methods for manipulating running instances at runtime.
# Type aliases
Factory should return an unstarted instance given some config.