At the moment, when Agent is running in OTel mode, elastic-agent status reports the following:
$ ./elastic-agent -c otel.yml status
Error: failed to communicate with Elastic Agent daemon: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /private/tmp/elastic-agent-8.12.0-SNAPSHOT-darwin-aarch64/elastic-agent.sock: connect: no such file or directory"
For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.12/fleet-troubleshooting.html
We should enhance this output so it at least reports whether the OTel collector is running. Reporting the status of each running receiver and exporter is out of scope for this issue and can be implemented as a follow up.
At the moment, when Agent is running in OTel mode,
elastic-agent statusreports the following:We should enhance this output so it at least reports whether the OTel collector is running. Reporting the status of each running receiver and exporter is out of scope for this issue and can be implemented as a follow up.