Directories ¶
Path | Synopsis |
---|---|
Package client provides a client interface to the Agent HTTP API.
|
Package client provides a client interface to the Agent HTTP API. |
features
Package features enables a way to encode enabled features in a flag.FlagSet.
|
Package features enables a way to encode enabled features in a flag.FlagSet. |
Package crow implements a correctness checker tool similar to Loki Canary.
|
Package crow implements a correctness checker tool similar to Loki Canary. |
Package flow implements the Flow component graph system.
|
Package flow implements the Flow component graph system. |
componenttest
Package componenttest provides utilities for testing Flow components.
|
Package componenttest provides utilities for testing Flow components. |
internal/dag
Package dag defines a Directed Acyclic Graph.
|
Package dag defines a Directed Acyclic Graph. |
internal/testcomponents
Package testcomponents contains components useful for testing.
|
Package testcomponents contains components useful for testing. |
internal/testservices
Package testservices contains services useful for testing.
|
Package testservices contains services useful for testing. |
tracing
Package tracing implements the tracing subsystem of Grafana Agent Flow.
|
Package tracing implements the tracing subsystem of Grafana Agent Flow. |
tracing/internal/jaegerremote
Package jaegerremote implements the Jaeger Remote protocol.
|
Package jaegerremote implements the Jaeger Remote protocol. |
agent
Package agent is an "example" integration that has very little functionality, but is still useful in practice.
|
Package agent is an "example" integration that has very little functionality, but is still useful in practice. |
apache_http
Package apache_http embeds https://github.com/Lusitaniae/apache_exporter
|
Package apache_http embeds https://github.com/Lusitaniae/apache_exporter |
config
Package config provides common configuration structs shared among implementations of integrations.Integration.
|
Package config provides common configuration structs shared among implementations of integrations.Integration. |
consul_exporter
Package consul_exporter embeds https://github.com/prometheus/consul_exporter
|
Package consul_exporter embeds https://github.com/prometheus/consul_exporter |
dnsmasq_exporter
Package dnsmasq_exporter embeds https://github.com/google/dnsmasq_exporter
|
Package dnsmasq_exporter embeds https://github.com/google/dnsmasq_exporter |
elasticsearch_exporter
Package elasticsearch_exporter instantiates the exporter from github.com/justwatchcom/elasticsearch_exporter - replaced for github.com/prometheus-community/elasticsearch_exporter Using the YAML config provided by the agent
|
Package elasticsearch_exporter instantiates the exporter from github.com/justwatchcom/elasticsearch_exporter - replaced for github.com/prometheus-community/elasticsearch_exporter Using the YAML config provided by the agent |
install
Package install registers all in-source integrations for use.
|
Package install registers all in-source integrations for use. |
memcached_exporter
Package memcached_exporter embeds https://github.com/google/memcached_exporter
|
Package memcached_exporter embeds https://github.com/google/memcached_exporter |
mysqld_exporter
Package mysqld_exporter embeds https://github.com/prometheus/mysqld_exporter
|
Package mysqld_exporter embeds https://github.com/prometheus/mysqld_exporter |
postgres_exporter
Package postgres_exporter embeds https://github.com/prometheus/postgres_exporter
|
Package postgres_exporter embeds https://github.com/prometheus/postgres_exporter |
process_exporter
Package process_exporter embeds https://github.com/ncabatoff/process-exporter
|
Package process_exporter embeds https://github.com/ncabatoff/process-exporter |
redis_exporter
Package redis_exporter embeds https://github.com/oliver006/redis_exporter
|
Package redis_exporter embeds https://github.com/oliver006/redis_exporter |
snmp_exporter
Package snmp_exporter embeds https://github.com/prometheus/snmp_exporter
|
Package snmp_exporter embeds https://github.com/prometheus/snmp_exporter |
statsd_exporter
Package statsd_exporter embeds https://github.com/prometheus/statsd_exporter
|
Package statsd_exporter embeds https://github.com/prometheus/statsd_exporter |
v2
Package integrations provides a way to run and manage Grafana Agent "integrations," which integrate some external system (such as MySQL) to Grafana Agent's existing metrics, logging, and tracing subsystems.
|
Package integrations provides a way to run and manage Grafana Agent "integrations," which integrate some external system (such as MySQL) to Grafana Agent's existing metrics, logging, and tracing subsystems. |
v2/agent
Package agent is an "example" integration that has very little functionality, but is still useful in practice.
|
Package agent is an "example" integration that has very little functionality, but is still useful in practice. |
v2/apache_http
Package apache_http embeds https://github.com/Lusitaniae/apache_exporter
|
Package apache_http embeds https://github.com/Lusitaniae/apache_exporter |
v2/autoscrape
Package autoscrape implements a scraper for integrations.
|
Package autoscrape implements a scraper for integrations. |
v2/eventhandler
Package eventhandler watches for Kubernetes Event objects and hands them off to Agent's Logs subsystem (embedded promtail)
|
Package eventhandler watches for Kubernetes Event objects and hands them off to Agent's Logs subsystem (embedded promtail) |
v2/snmp_exporter
Package snmp_exporter embeds https://github.com/prometheus/snmp_exporter
|
Package snmp_exporter embeds https://github.com/prometheus/snmp_exporter |
Package logs implements logs support for the Grafana Agent.
|
Package logs implements logs support for the Grafana Agent. |
Package metrics implements a Prometheus-lite client for service discovery, scraping metrics into a WAL, and remote_write.
|
Package metrics implements a Prometheus-lite client for service discovery, scraping metrics into a WAL, and remote_write. |
instance
Package instance provides a mini Prometheus scraper and remote_writer.
|
Package instance provides a mini Prometheus scraper and remote_writer. |
instance/configstore
Package configstore abstracts the concepts of where instance files get retrieved.
|
Package configstore abstracts the concepts of where instance files get retrieved. |
mimir
|
|
assets
Package assets contains helper types used for loading in static assets when configuring the Grafana Agent.
|
Package assets contains helper types used for loading in static assets when configuring the Grafana Agent. |
config
Package config generates Grafana Agent configuration based on Kubernetes resources.
|
Package config generates Grafana Agent configuration based on Kubernetes resources. |
hierarchy
Package hierarchy provides tools to discover a resource hierarchy.
|
Package hierarchy provides tools to discover a resource hierarchy. |
logutil
Package logutil implements an adaptor for the go-kit logger, which is used in the Grafana Agent project, and go-logr, which is used in controller-runtime.
|
Package logutil implements an adaptor for the go-kit logger, which is used in the Grafana Agent project, and go-logr, which is used in controller-runtime. |
Package river implements a high-level API for decoding and encoding River configuration files.
|
Package river implements a high-level API for decoding and encoding River configuration files. |
ast
Package ast exposes AST elements used by River.
|
Package ast exposes AST elements used by River. |
diag
Package diag exposes error types used throughout River and a method to pretty-print them to the screen.
|
Package diag exposes error types used throughout River and a method to pretty-print them to the screen. |
encoding/riverjson
Package riverjson encodes River as JSON.
|
Package riverjson encodes River as JSON. |
internal/rivertags
Package rivertags decodes a struct type into river object and structural tags.
|
Package rivertags decodes a struct type into river object and structural tags. |
internal/stdlib
Package stdlib contains standard library functions exposed to River configs.
|
Package stdlib contains standard library functions exposed to River configs. |
internal/value
Package value holds the internal representation for River values.
|
Package value holds the internal representation for River values. |
parser
Package parser implements utilities for parsing River configuration files.
|
Package parser implements utilities for parsing River configuration files. |
printer
Package printer contains utilities for pretty-printing River ASTs.
|
Package printer contains utilities for pretty-printing River ASTs. |
scanner
Package scanner implements a lexical scanner for River source files.
|
Package scanner implements a lexical scanner for River source files. |
token
Package token defines the lexical elements of a River config and utilities surrounding their position.
|
Package token defines the lexical elements of a River config and utilities surrounding their position. |
token/builder
Package builder exposes an API to create a River configuration file by constructing a set of tokens.
|
Package builder exposes an API to create a River configuration file by constructing a set of tokens. |
vm
Package vm provides a River expression evaluator.
|
Package vm provides a River expression evaluator. |
Package runner provides an API for generic goroutine scheduling.
|
Package runner provides an API for generic goroutine scheduling. |
Package server implements the HTTP and gRPC server used throughout Grafana Agent.
|
Package server implements the HTTP and gRPC server used throughout Grafana Agent. |
k8s
Package k8s spins up a Kubernetes cluster for testing.
|
Package k8s spins up a Kubernetes cluster for testing. |
structwalk
Package structwalk allows you to "walk" the hierarchy of a struct.
|
Package structwalk allows you to "walk" the hierarchy of a struct. |
subset
Package subset implements functions to check if one value is a subset of another.
|
Package subset implements functions to check if one value is a subset of another. |
testappender
Package testappender exposes utilities to test code which writes to Prometheus storage.Appenders.
|
Package testappender exposes utilities to test code which writes to Prometheus storage.Appenders. |
zapadapter
Package zapadapter allows github.com/go-kit/log to be used as a Zap core.
|
Package zapadapter allows github.com/go-kit/log to be used as a Zap core. |
Click to show internal directories.
Click to hide internal directories.