%% date:: [[2023-04-23]], [[2023-07-27]], [[2023-08-12]], [[2023-11-27]], [[2024-04-22]] parent:: %% # [[Grafana Agent]] [site](https://grafana.com/oss/agent/), [repo](https://github.com/grafana/agent) [[Grafana Labs|Grafana]] Agent is a [[Telemetry collector]] for the following types of [[Telemetry]]: - [[Grafana Mimir|Mimir]]/[[Prometheus]] for metrics - [[Grafana Loki]] for logs - [[Grafana Tempo|Tempo]] for traces - [[Grafana Phlare|Phlare]] (now [[Grafana Pyroscope|Pyroscope]]) for [[Continuous Profiling]] - other [[OpenTelemetry]] endpoints Here's a <1 minute summary of what Grafana Agent is: <iframe width="560" height="315" src="https://www.youtube.com/embed/Y4XVbxP0Mjs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> ## Grafana Alloy Grafana Agent has been forked, and the new project is called [[Grafana Alloy]]. Alloy is technically a separate project from Agent, but practically, it was Agent in flow mode at the time of inception. The idea is to make Alloy an opinionated [[OpenTelemetry Collector]]. ## Videos Here's a livestream of Grafana Office Hours that I did with Paschalis Tsilias and Paul Balogh about Grafana Agent: ![](https://www.youtube.com/watch?v=i0mA0w_MCPQ) ## Modes Grafana Agent has two modes: *static* (the legacy mode) and *flow*. Flow is the recommended mode going forward. ### Static mode ### Flow mode <iframe width="560" height="315" src="https://www.youtube.com/embed/ZBE9pwDbsgo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube.com/embed/-_SsFLoJvoc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> *Matt Durham on Grafana Office Hours, talking about flow mode* [^gohmatt] [^gohmatt]: [[GOH 21 - Grafana Agent Flow mode]]