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

prometheus_tail_monitor does not refresh deleted/rotated files. #189

Open
SarthakSahu opened this issue Apr 26, 2021 · 5 comments
Open

prometheus_tail_monitor does not refresh deleted/rotated files. #189

SarthakSahu opened this issue Apr 26, 2021 · 5 comments

Comments

@SarthakSahu
Copy link

We are using tail plugin with "pos_file_compaction_interval" option. With this option pos_file is getting updated by removing all deleted tailed file information.
We are using the prometheus_tail_monitor plugin to get the information of tailed files.

Issue: When the tailed files are getting deleted/rotated, even though the pos_file is updated, But metrics fluentd_tail_file_inode and fluentd_tail_file_position are not updated and still shows the information of deleted/rotated files. As a result of this the amount of data exposed by these metrics are increasing continuously.

Found a similar discussion in google groups.
https://groups.google.com/g/fluentd/c/KsoAoTp62dA

@archupriya3
Copy link

Any update on this issue?

@aggarwalShivani
Copy link

Hi, I am facing the same issue with td-agent-4.3.1-1.el8.x86_64 (fluent-plugin-prometheus-2.0.2, prometheus-client-2.1.0). Any updates on fixing this?

@archupriya3
Copy link

Any updates on this issue? We are facing the same issue with 4.4.2 td-agent rpm as well.

@moharana-subhashree
Copy link

Any updates on this issue? We are facing the same issue with 4.5.0 td-agent rpm.

@moharana-subhashree
Copy link

Any updates on this issue? We are facing the same issue with fluent-package-5.0.2-1 rpm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To-Do
Development

No branches or pull requests

4 participants