Modules are a way to create Grafana Agent Flow configurations which can be loaded as a component. Modules are a great way to parameterize a configuration to create reusable pipelines.
- modules: A library of usable modules out of the box
- example: A practical example shown for each module loader plus without modules for comparison
- util: Utilities for managing modules in this repo
Name | Description | Agent Version |
---|---|---|
Metrics and Logs Annotation Ingestion | Module to ingest Metrics (scraping/probes) and Logs through annotations. | >= v0.36.1 |
OTLP to LGTM | Module to ingest OTLP data and then send it to Loki, Mimir and Tempo stacks locally or in GrafanaCloud. | >= v0.33 |
Grafana Agent Telemetry to LGTM | Module to forward the Grafana Agent's own telemetry data to Loki, Mimir and Tempo stacks locally or in Grafana Cloud. | >= v0.33 |
Grafana Agent Dynamic Blackbox Exporter | Module to use blackbox exporter with dynamic targets. | >= v0.35 |
Grafana Cloud Autoconfigure | Module to automatically configure receivers for Grafana Cloud. | >= v0.34 |
Host Filtering | The host filtering module provides a Flow mode equivalent to static mode's host filtering functionality. | >= v0.34 |
Add modules to the modules
folder. Each module must have a README.MD that provides the following information:
- Name
- Brief description
- Applicable Agent Versions
- Arguments
- Exports
- Example
Modules must contain the following elements:
- Arguments
- Exports
- The body of the module