Skip to content

[OTel Collector] elastic agent status command should work #3872

@ycombinator

Description

@ycombinator

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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions