grafana / alloy

OpenTelemetry Collector distribution with programmable pipelines
https://grafana.com/oss/alloy
Apache License 2.0
1.42k stars 205 forks source link

Incorrect (agent-centric) troubleshooting guidance #688

Open Eve832 opened 6 months ago

Eve832 commented 6 months ago

URL

https://grafana.com/docs/grafana-cloud/monitor-infrastructure/integrations/install-troubleshoot-linux/#no-metrics-were-found-for-this-integration

Feedback

Gaurav Soni has found that a troubleshooting command did not help him address a customer concern, likely because it hasn't been updated for the linux integration which now uses Alloy. slack link: https://raintank-corp.slack.com/archives/C5PG2JK8W/p1714138195021599

Post:

While troubleshooting Alloy configuration and following troubleshooting guidance: https://grafana.com/docs/grafana-cloud/monitor-infrastructure/integrations/install-troubleshoot-linux/#no-metrics-were-found-for-this-integration it seems to give me a wrong command[probably old as UI recommend using Alloy now]:

admin@ip-172-31-29-110:~/alloy$ journalctl -u grafana-agent.service -n 100 --no-pager
-- No entries --
This command resulted in no journal entries being shown.
I expected that following troubleshooting guidance would give me helpful diagnostic information.
Here's what gave me useful information:
admin@ip-172-31-29-110:~/alloy$ journalctl -u alloy -n 100 --no-pager
Apr 26 13:04:33 ip-172-31-29-110 systemd[1]: Started alloy.service - Vendor-agnostic OpenTelemetry Collector distribution with programmable pipelines.
Apr 26 13:04:33 ip-172-31-29-110 alloy[703]: ts=2024-04-26T13:04:33.665498496Z level=info "boringcrypto enabled"=false
...
...

Can we get the doc updated? (edited)

clayton-cornell commented 6 months ago

Integrations team has this on their ToDo list and updates are pending.

github-actions[bot] commented 5 months ago

This issue has not had any activity in the past 30 days, so the needs-attention label has been added to it. If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue. The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity. Thank you for your contributions!

clayton-cornell commented 2 months ago

Looks like this has received an update now... https://grafana.com/docs/grafana-cloud/monitor-infrastructure/integrations/troubleshoot/install-troubleshoot-linux-alloy/ is the new URL

@grvsoni does this cover what you were asking for?