Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow mode support #36

Open
Guillaumebeuzeboc opened this issue Oct 9, 2023 · 0 comments
Open

Flow mode support #36

Guillaumebeuzeboc opened this issue Oct 9, 2023 · 0 comments

Comments

@Guillaumebeuzeboc
Copy link

Grafana agent supports multiple modes.

The current snap only supports the use of the static mode.

The Flow mode is now stable for the Grafana agent and appears to be the modern way of Grafana agent configuration.

The mode can be selected by setting the environment variable AGENT_MODE to flow.

The current snap already embeds the Flow mode, but the Flow mode is not exposed.

The Flow mode uses a river config file instead of a YAML.

Ideally, the Grafana agent snap could be configured with something similar to:

snap set grafana-agent agent-mode=flow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant