Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Journald] Implement status reporting for Elastic-Agent #39791

Open
Tracked by #37086
belimawr opened this issue Jun 3, 2024 · 0 comments
Open
Tracked by #37086

[Journald] Implement status reporting for Elastic-Agent #39791

belimawr opened this issue Jun 3, 2024 · 0 comments
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@belimawr
Copy link
Contributor

belimawr commented Jun 3, 2024

The journald input should report input status directly to Elastic-Agent. That can be done by implementing the following interfaces:

type StatusReporter interface {
// UpdateStatus updates the status of the unit.
UpdateStatus(status Status, msg string)
}
// WithStatusReporter provides a method to set a status reporter
type WithStatusReporter interface {
// SetStatusReporter sets the status reporter
SetStatusReporter(reporter StatusReporter)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

No branches or pull requests

1 participant