Skip to content

feat: Grafana options, no update checks - #95

Merged
DavidePrincipi merged 2 commits into
mainfrom
feat-8210
Oct 8, 2026
Merged

DavidePrincipi merged 2 commits into
mainfrom
feat-8210

Conversation

@DavidePrincipi

@DavidePrincipi DavidePrincipi commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Grafana sends anonymous usage statistics to stats.grafana.org and checks grafana.com for Grafana and plugin updates. Behind a DNS (Domain Name System) blocker like Pi-hole the failed lookups may generate many queries, and today there is no way to turn them off. NethServer/dev#8210

The checks for Grafana and plugin updates are now disabled by default: the module pins the Grafana version, so update notices in the Grafana UI are not useful. Usage reporting stays enabled by default. A new optional environment variable, PODMAN_RUN_OPTS, adds options to the podman run command of the Grafana container, for example -e GF_ANALYTICS_REPORTING_ENABLED=false to disable the usage reporting.

  • grafana.service: set GF_ANALYTICS_CHECK_FOR_UPDATES=false and GF_ANALYTICS_CHECK_FOR_PLUGIN_UPDATES=false, then append $PODMAN_RUN_OPTS
  • README section that explains how to disable the usage reporting and how to revert

How to test

  • Configure Grafana and check that it starts and shows the dashboards as before
  • Check in Administration > Settings that check_for_updates and check_for_plugin_updates are false
  • Set PODMAN_RUN_OPTS as described in the README, restart grafana.service, and check that reporting_enabled is false
  • With a DNS blocker in front of the node, check that Grafana stops querying stats.grafana.org and grafana.com

See also


Generated by Claude Code:claude-opus-5.5 with nethserver-pr

Grafana sends usage statistics to stats.grafana.org and checks
grafana.com for updates. Behind a DNS blocker the failed lookups may
generate many queries, and there is no way to turn them off.

Add PODMAN_RUN_OPTS to pass extra options to the Grafana container,
for example GF_ANALYTICS_* environment variables that disable the
reporting and update checks. The default behavior is unchanged.

Assisted-by: Claude Code:claude-opus-5.5
@DavidePrincipi DavidePrincipi self-assigned this Oct 8, 2026
Grafana checks grafana.com for new Grafana and plugin versions. The
module image pins the Grafana version and plugins are not installed
from the UI, so the checks are useless and only generate traffic.

The settings can still be overridden through PODMAN_RUN_OPTS.

Assisted-by: Claude Code:claude-opus-5.5
@DavidePrincipi DavidePrincipi changed the title feat: add extra Grafana container options feat: Grafana options, no update checks Oct 8, 2026
@DavidePrincipi
DavidePrincipi merged commit ed96af5 into main Oct 8, 2026
5 checks passed
@DavidePrincipi
DavidePrincipi deleted the feat-8210 branch October 8, 2026 14:56
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

Successfully merging this pull request may close these issues.

2 participants