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

[Elastic Agent] How to monitor inputs #21413

Closed
Tracked by #26930
ruflin opened this issue Sep 30, 2020 · 5 comments
Closed
Tracked by #26930

[Elastic Agent] How to monitor inputs #21413

ruflin opened this issue Sep 30, 2020 · 5 comments
Labels
8.6-candidate enhancement estimation:Month Task that represents a month of work. Stalled Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@ruflin
Copy link
Member

ruflin commented Sep 30, 2020

In Fleet a user deploys and Integration policy as part of an Agent policy. From an Agent perspective, an integration policy is just an array of inputs. The user needs to know if an Integration policy is working or not. For an Agent to report if an integration works or not, the Agent needs to know about the status of each input. As the Agent is mostly a supervisor and the inputs are run by the processes, this data needs to be reported by the processes.

This issue is to discuss the following points:

  • What are the metrics that each input should report
  • How is each input going to report this metrics

Proposal on reporting path

To take a first stab on how this could work, here a proposal on the part on how the metrics are reported. Today metrics and logs are collected from a separate Metricbeat / Filebeat instance. I would not change this for now but introduce an additional path for the input monitoring. Each process has a standardised way on how to report inputs metrics to the Elastic Agent through GRPC. Then the Agent decides on how all these metrics are shipped / reported to Elasticsearch / Fleet.

image

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest-management (Team:Ingest Management)

@ph ph added the v7.11.0 label Oct 14, 2020
@ph ph removed the v7.11.0 label Oct 29, 2020
@ruflin ruflin removed their assignment Nov 3, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 27, 2021
@jsoriano jsoriano added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Oct 29, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 29, 2021
@jlind23 jlind23 added 8.2-candidate Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team labels Dec 9, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@jlind23
Copy link
Collaborator

jlind23 commented Jan 31, 2022

@belimawr will start working on it.
@kvch how does it match with the input manager proposal you wrote?

@botelastic
Copy link

botelastic bot commented Jul 20, 2023

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Jul 20, 2023
@botelastic botelastic bot closed this as completed Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.6-candidate enhancement estimation:Month Task that represents a month of work. Stalled Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

No branches or pull requests

8 participants