connectors
connectors copied to clipboard
Add support for input health status reporting to Fleet via Elastic Agent
Problem Description
Currently, the connectors-py input does not report status to Fleet via Elastic Agent. This status information provides insight to users of the health of the input, which is reflected in the overall status of the Agent.
Proposed Solution
connectors should report the following states: (If applicable. Someone more knowledgable about the inner workings of connectors can fill in details as required)
- STARTING: When input is initializing
- CONFIGURING: When setting up configuration
- HEALTHY: When successfully handling data
- DEGRADED: When encountering non-fatal errors and can still operate. Examples:
- TBD
- FAILED: When encountering fatal errors preventing operation. Examples:
- TBD
Include relevant context information with non-HEALTHY states:
- TBD
Additional Context
Overview of the Agent Status feature
- https://www.elastic.co/docs/reference/fleet/monitor-elastic-agent#view-agent-details
Related/reference Issues
- https://github.com/elastic/beats/issues/44282
- https://github.com/elastic/security-integrations/issues/289
Unlocks UX like:
CC @danajuratoni for prioritization.