fluent / fluent/fluent-plugin-prometheus

prometheus_tail_monitor does not refresh deleted/rotated files.

Open
#189 9 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
257
Forks
83
Avg merge
1d 16h
Merged PRs (30d)
7

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.