-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Expose file handles count for log and filestream inputs #33771
Comments
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
this has a high end customer value. The priority should not be adjusted. |
@nimarezainia I started working on this today and realised its partially covered by #35529. It exposes multiple metrics from I'm wondering if we should unify those metrics and tasks. |
cc: @pierrehilbert. I'm also changing the status to blocked until we have more clarity on how to proceed to avoid duplicating efforts and having diverging implementations. |
I suspect that the exact name of the metric here doesn't matter, as long as it is available somewhere. That means the changes in #35529 fundamentally solve the problem of exposing this for filestream. If we relied entirely on the changes in #35529 though we'd still have a global metric named Deprecating the global metric or making it conditional on the inputs in use is much more work than just tracking the metric twice under two different names, so I would vote we do that and keep the original implementation plan independent of #35529 . The metrics counter here is effectively a form of legacy API, and we can't completely abandon an important use case for it because an incompatible v2 API (metrics under /inputs) will exist. |
My understanding is that We could document that the current metrics are only for the log input and document how to get the new ones from filestream (by using the HTTP API or adding the necessary namespace for the logging metrics). What do you think @cmacknz ? |
Discussed today, I think just documenting that these metrics which could apply to both inputs are only populated by the log input will be confusing. Outcome was we wait for #35529 to merge, and then duplicate the relevant metrics under If we imagine that we eventually add the |
As we are waiting for #35529 I will push this issue out of our current sprint. |
Issue
Describe the enhancement:
Monitoring should expose
filebeat.harvester.open_files
for bothlog
andfilestream
inputDescribe a specific use case for the enhancement or feature:
Ability to track the current open files by Filebeat and eventually expose them in the Stack Monitoring / Dashboards.
Definition of done
The text was updated successfully, but these errors were encountered: