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

# Functions

No description provided by the author
No description provided by the author
New creates a new Server with the given config.
NewLogger creates a new Logger.
NewLoggerFromLevel creates a new logger from logging.Level and logging.Format.
SignalContext wraps a ctx which will be canceled if an interrupt is received.

# Variables

Default options structs.
Default options structs.
Default options structs.
Default configuration structs.

# Structs

Config holds dynamic configuration options for a Server.
Flags hold static configuration options for a Server.
GRPCConfig holds dynamic configuration options for the gRPC server.
GRPCFlags hold static configuration options for the gRPC server.
HookLogger is used to temporarily redirect.
HTTPConfig holds dynamic configuration options for the HTTP server.
HTTPFlags hold static configuration options for the HTTP server.
Logger implements Go Kit's log.Logger interface.
LogLevel wraps the logging.Level type to allow defining IsZero, which is required to make omitempty work when marshalling YAML.
Server wraps an HTTP and gRPC server with some common initialization.
TLSConfig holds dynamic configuration options for TLS.
No description provided by the author
WindowsCertificateFilter represents the configuration for accessing the Windows store.
WindowsClientFilter is used to select a client root CA certificate.
WindowsServerFilter is used to select a server certificate.

# Type aliases

DialContextFunc is a function matching the signature of net.Dialer.DialContext.
TLSCipher holds the ID of a tls.CipherSuite.
TLSCurve holds the ID of a TLS elliptic curve.
TLSVersion holds a TLS version ID.