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

# Functions

DefaultConfig returns a default config for a Logs instance.
New creates and starts Loki log collection.
NewInstance creates and starts a Logs instance.

# Variables

DefaultGlobalConfig holds default global settings to be used across all instances.

# Structs

Config controls the configuration of the Loki log scraper.
GlobalConfig holds global settings that apply to all instances by default.
Instance is an individual Logs instance.
InstanceConfig is an individual Promtail config.
Logs is a Logs log collection.
TargetInfo describes a specific target.

# Type aliases

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