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

out_prometheus_remote_write: update cutoff treshold #194

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

gmhomb
Copy link
Contributor

@gmhomb gmhomb commented Mar 27, 2024

This treshold was added to stop metrics older than one hour being sent to prometheus. It seems that during compilation, atleast on windows, this number gets changed to 817405952. This is below one second, and results in all metrics being thrown.

The cutoff treshold have been changed to a static value that persists through compilation.

This is further documented with a test configuration and debug output in a fluent-bit pull:
fluent/fluent-bit#8639

This treshold was added to stop metrics older than one hour 
being sent to prometheus. It seems that during compilation, atleast on windows, 
this number gets changed to 817405952, which is significantly lower and 
results in all metrics being thrown.

The treshold have been changed to a static value that persists through compilation.

Signed-off-by: gmhomb <gjerthomb@hotmail.com>
@edsiper edsiper merged commit 925afca into fluent:master Mar 31, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants