canonical / grafana-agent-k8s-operator

This charmed operator automates the operational procedures of running Grafana Agent, an open-soruce telemetry collector.
https://charmhub.io/grafana-agent-k8s
Apache License 2.0
8 stars 18 forks source link

Disable upstream analytics #295

Closed slapcat closed 1 month ago

slapcat commented 4 months ago

Bug Description

Logs are flooded with failure messages regarding upstream analytics:

msg="failed to send usage report" retries=0 err="Post \"https://stats.grafana.org/agent-usage-report\": context deadline exceeded

See also: https://github.com/grafana/loki/issues/10648

To Reproduce

  1. Deploy grafana-agent charm.
  2. Relate to compatible machine charm.
  3. Watch /var/log/syslog for error.

Environment

Grafana-agent is related to machine charms in an openstack cloud.

Relevant log output

msg="failed to send usage report" retries=0 err="Post \"https://stats.grafana.org/agent-usage-report\": context deadline exceeded

Additional context

No response

lucabello commented 1 month ago

We have a few duplicates of this issue, so I'm closing this one in favor of #266.