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

Add config option equivalent to --disable-reporting #2524

Open
dmitrydonskih opened this issue Jan 24, 2025 · 1 comment
Open

Add config option equivalent to --disable-reporting #2524

dmitrydonskih opened this issue Jan 24, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@dmitrydonskih
Copy link

Request

Add configuration option to disable sending stat reports to stats.grafana.org.

Use case

When Alloy runs in closed network without access to internet, sending stats reports fails, it floods own logs with errors and therefore should be disabled.
Currently the only way to disable it is to issue command-line option --disable-reporting.
On linux, this requires modification of systemd service.
On windows, installed service runs different executable (alloy-service-windows-amd64.exe), so modifying command-line options is not possible (at least not documented).
We definitely need a more convenient way to control this feature.

@mzurborg-scopevisio
Copy link

mzurborg-scopevisio commented Jan 28, 2025

Please prioritize this.

We want to roll-out alloy to our customers who use parts of our software in their local networks on Windows-based computers in order to be able to collect metrics and logs and we cannot (due to strict data protection agreements with our customers) do this unless this analytics can be easily disabled via config file.

As @dmitrydonskih stated above, easily disabling reporting for the windows service installer is currently neither supported nor documented.

This sadly needs to be adressed in the next 6-8 weeks or we won't be able to use alloy at all.

The config file should support disabling this as such:
analytics { reporting_enabled = false }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants