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

Disable loki external analytics reporting #487

Closed
blancharda opened this issue Jun 17, 2024 · 2 comments · Fixed by #601
Closed

Disable loki external analytics reporting #487

blancharda opened this issue Jun 17, 2024 · 2 comments · Fixed by #601
Assignees
Labels
enhancement New feature or request logging Issues related to the Logging stack (Loki/Promtail)
Milestone

Comments

@blancharda
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Loki is attempting to phone home.

Glancing at the logs for loki in an environment with limited public egress, we're seeing a lot of these:

msg="failed to send usage report" retries=3 err="Post \"https://stats.grafana.org/loki-usage-report\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"

It seems that our default uds-core install is sending (or attempting to send) a usage report back to grafana.

Describe the solution you'd like

Ideally we would disable this by default in uds-core.

Describe alternatives you've considered

Alternatively, we should at least provide clear documentation on how to disable this feature in a downstream bundle.

@blancharda blancharda added the enhancement New feature or request label Jun 17, 2024
@mjnagel
Copy link
Contributor

mjnagel commented Jun 17, 2024

Definitely preferable to disable this by default, I believe we have telemetry/analytics disabled for NeuVector currently. We should likely review Grafana and Loki since both may have a similar analytics behavior.

@mjnagel mjnagel added the logging Issues related to the Logging stack (Loki/Promtail) label Jul 2, 2024
@blancharda
Copy link
Contributor Author

It seems grafana is also attempting to reach out for (different) resources/checks:

logger=plugin.signature.key_retriever t=2024-07-10T15:48:42.889345595Z level=error msg="Error downloading plugin manifest keys" error="Get \"https://grafana.net/api/plugins/ci/keys\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
logger=grafana.update.checker t=2024-07-10T15:48:42.895775976Z level=error msg="Update check failed" error="failed to get stable version from grafana.com: Get \"https://grafana.com/api/grafana/versions/stable\": net/http: TLS handshake timeout" duration=10.007474354s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request logging Issues related to the Logging stack (Loki/Promtail)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants