Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
agentctl
Command agentctl provides utilities for interacting with Grafana Agent
|
Command agentctl provides utilities for interacting with Grafana Agent |
e2e
module
|
|
internal
|
|
cmd/agentlint
Module
|
|
pkg
|
|
client
Package client provides a client interface to the Agent HTTP API.
|
Package client provides a client interface to the Agent HTTP API. |
client/grafanacloud
Package grafanacloud provides an interface to the Grafana Cloud API.
|
Package grafanacloud provides an interface to the Grafana Cloud API. |
config/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. |
crow
Package crow implements a correctness checker tool similar to Loki Canary.
|
Package crow implements a correctness checker tool similar to Loki Canary. |
integrations/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. |
integrations/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. |
integrations/consul_exporter
Package consul_exporter embeds https://github.com/prometheus/consul_exporter
|
Package consul_exporter embeds https://github.com/prometheus/consul_exporter |
integrations/dnsmasq_exporter
Package dnsmasq_exporter embeds https://github.com/google/dnsmasq_exporter
|
Package dnsmasq_exporter embeds https://github.com/google/dnsmasq_exporter |
integrations/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 |
integrations/install
Package install registers all in-source integrations for use.
|
Package install registers all in-source integrations for use. |
integrations/memcached_exporter
Package memcached_exporter embeds https://github.com/google/memcached_exporter
|
Package memcached_exporter embeds https://github.com/google/memcached_exporter |
integrations/mysqld_exporter
Package mysqld_exporter embeds https://github.com/prometheus/mysqld_exporter
|
Package mysqld_exporter embeds https://github.com/prometheus/mysqld_exporter |
integrations/postgres_exporter
Package postgres_exporter embeds https://github.com/prometheus/postgres_exporter
|
Package postgres_exporter embeds https://github.com/prometheus/postgres_exporter |
integrations/process_exporter
Package process_exporter embeds https://github.com/ncabatoff/process-exporter
|
Package process_exporter embeds https://github.com/ncabatoff/process-exporter |
integrations/redis_exporter
Package redis_exporter embeds https://github.com/oliver006/redis_exporter
|
Package redis_exporter embeds https://github.com/oliver006/redis_exporter |
integrations/statsd_exporter
Package statsd_exporter embeds https://github.com/prometheus/statsd_exporter
|
Package statsd_exporter embeds https://github.com/prometheus/statsd_exporter |
integrations/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. |
integrations/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. |
integrations/v2/autoscrape
Package autoscrape implements a scraper for integrations.
|
Package autoscrape implements a scraper for integrations. |
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) |
logs
Package logs implements logs support for the Grafana Agent.
|
Package logs implements logs support for the Grafana Agent. |
metrics
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. |
metrics/instance
Package instance provides a mini Prometheus scraper and remote_writer.
|
Package instance provides a mini Prometheus scraper and remote_writer. |
metrics/instance/configstore
Package configstore abstracts the concepts of where instance files get retrieved.
|
Package configstore abstracts the concepts of where instance files get retrieved. |
operator/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. |
operator/config
Package config generates Grafana Agent configuration based on Kubernetes resources.
|
Package config generates Grafana Agent configuration based on Kubernetes resources. |
operator/hierarchy
Package hierarchy provides tools to discover a resource hierarchy.
|
Package hierarchy provides tools to discover a resource hierarchy. |
operator/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. |
server
Package server implements the HTTP and gRPC server used throughout Grafana Agent.
|
Package server implements the HTTP and gRPC server used throughout Grafana Agent. |
util/k8s
Package k8s spins up a Kubernetes cluster for testing.
|
Package k8s spins up a Kubernetes cluster for testing. |
util/structwalk
Package structwalk allows you to "walk" the hierarchy of a struct.
|
Package structwalk allows you to "walk" the hierarchy of a struct. |
util/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. |
tools
|
|
crow
Comand grafana-agent-crow is a correctness checker tool that validates that scraped metrics are delivered to a remote_write endpoint.
|
Comand grafana-agent-crow is a correctness checker tool that validates that scraped metrics are delivered to a remote_write endpoint. |
agentlint
Module
|
Click to show internal directories.
Click to hide internal directories.