# monitoring/alloy
dir: monitoring/alloy

index: monitoring/alloy/.pi-map.index.md

## role
Centralized log collection configuration that scrapes Docker container logs and forwards them to Loki for storage and querying.
## files
- config.alloy | Configures Alloy to scrape Docker container logs and forward them to a local Loki instance | dep: docker, loki, discovery.docker, discovery.relabel, loki.source.docker, loki.write
## arch
Declarative agent-based collection pattern using Grafana Alloy's discovery and pipeline stages to discover containers, tail their logs, and stream them to a local Loki destination.
## tags
docker, loki, discovery, config, configures, alloy, scrape, container
## symbols
-
## workflows
-
## dirty
-
