package
1.4.3
Repository: https://github.com/grafana/alloy.git
Documentation: pkg.go.dev

# Packages

Package agent is an "example" integration that has very little functionality, but is still useful in practice.
Package apache_http embeds https://github.com/Lusitaniae/apache_exporter.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package config provides common configuration structs shared among implementations of integrations.Integration.
Package consul_exporter embeds https://github.com/prometheus/consul_exporter.
Package dnsmasq_exporter embeds https://github.com/google/dnsmasq_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.
No description provided by the author
No description provided by the author
Package install registers all in-source integrations for use.
No description provided by the author
Package memcached_exporter embeds https://github.com/google/memcached_exporter.
No description provided by the author
No description provided by the author
Package mysqld_exporter embeds https://github.com/prometheus/mysqld_exporter.
No description provided by the author
No description provided by the author
Package postgres_exporter embeds https://github.com/prometheus/postgres_exporter.
Package process_exporter embeds https://github.com/ncabatoff/process-exporter.
Package redis_exporter embeds https://github.com/oliver006/redis_exporter.
Package snmp_exporter embeds https://github.com/prometheus/snmp_exporter.
No description provided by the author
No description provided by the author
Package statsd_exporter embeds https://github.com/prometheus/statsd_exporter.
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.
No description provided by the author
No description provided by the author

# Functions

DefaultManagerConfig holds the default settings for integrations.
MarshalYAML helps implement yaml.Marshaller for structs that have a Configs field that should be inlined in the YAML string.
NewCollectorIntegration creates a basic integration that exposes metrics from multiple prometheus.Collector.
NewHandlerIntegration creates a new named integration that will call handler when metrics are needed.
NewIntegrationWithInstanceKey uses cfg to construct an integration and return it along its instance key.
NewLogger translates log.Logger to logrus.Logger.
RegisteredIntegrations all Configs that were passed to RegisterIntegration.
RegisterIntegration dynamically registers a new integration.
UnmarshalYAML helps implement yaml.Unmarshaller for structs that have a Configs field that should be inlined in the YAML string.
WithCollectors adds more collectors to the CollectorIntegration being created.
WithExporterMetricsIncluded can enable the exporter metrics if the flag provided is enabled.
WithRunner replaces the runner of the CollectorIntegration.
WithTimestampFromLogrus sets tsFromLogrus logging option.

# Variables

No description provided by the author

# Structs

CollectorIntegration is an integration exposing metrics from one or more Prometheus collectors.
ManagerConfig holds the configuration for all integrations.
UnmarshaledConfig combines an integration's config with common settings.

# Interfaces

Config provides the configuration and constructor for an integration.
An Integration is a process that integrates with some external system and pulls telemetry data.

# Type aliases

CollectorIntegrationConfig defines constructor configuration for NewCollectorIntegration.
Configs is a list of UnmarshaledConfig.
Option Exposes logging options.