How to use flow mode for Grafana Agent with Matt Durham (Grafana Office Hours #21)

How to use flow mode for Grafana Agent with Matt Durham (Grafana Office Hours #21)

Nov 25, 2023

Senior Software Engineer Matt Durham shows us how to use flow mode for Grafana Agent. Flow mode is a new and better way to install and configure Grafana Agent than the older "static mode". Among other things, flow mode's modularity makes it easier to build more complex workflows like traditional data pipelines and allows for more use cases than collecting and processing telemetry.

RESOURCES MENTIONED:

Grafana Agent repo: https://github.com/grafana/agent
Grafana Agent docs: https://grafana.com/docs/agent/latest/
Grafana Agent flow mode: https://grafana.com/docs/agent/latest/flow/
What is Grafana Agent? (previous Grafana Office Hours video) https://youtube.com/live/i0mA0w_MCPQ
Grafana Slack: https://slack.grafana.com/ - there's an `@agent` channel
Grafana Agent Community Call agenda: https://docs.google.com/document/d/1TqaZD1JPfNadZ4V81OCBPCG_TksDYGlNlGdMnTWUSpo/edit#heading=h.jkpb8gk2r6u8
Modules for Grafana Agent: https://github.com/grafana/agent-modules

TIMESTAMPS
00:00:00 Introductions
00:05:25 What is Grafana Agent?
00:07:31 What is static mode and why wasn't it enough?
00:16:38 Demo - Agent configuration in River language
00:22:19 Advantages of flow vs static mode
00:27:00 Grafana Agent flow mode UI
00:30:30 Documentation for flow mode
00:32:59 Performance, scalability, availability of flow mode
00:40:43 New features in flow mode - OTel support
00:43:11 Beyond telemetry, easier to contribute to
00:45:44 How to install flow mode vs static mode
00:47:37 Continuous profiling via Pyroscope in flow
00:48:42 Flow mode will eventually replace static mode
00:50:02 Future of flow mode
00:54:54 5-minute summary of Grafana Agent flow mode

Contact Matt:
LinkedIn: https://www.linkedin.com/in/matt-durham-52a56bb7/

Contact Nicole:
Mastodon: https://pkm.social/@nicole
Site: https://nicolevanderhoeven.com
GitHub: https://github.com/nicolevanderhoeven

Contact Paul:
X: https://twitter.com/javaducky
GitHub: https://github.com/javaducky
Site: https://javaducky.com/

Learn more about Grafana Labs:
Website: https://grafana.com
Repo: https://github.com/grafana/grafana