alloy icon indicating copy to clipboard operation
alloy copied to clipboard

Incorrect (agent-centric) troubleshooting guidance

Open Eve832 opened this issue 10 months ago • 1 comments

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)

Eve832 avatar Apr 26 '24 13:04 Eve832

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

clayton-cornell avatar Apr 26 '24 16:04 clayton-cornell

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!

github-actions[bot] avatar May 28 '24 00:05 github-actions[bot]

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?

clayton-cornell avatar Aug 27 '24 19:08 clayton-cornell