Skip to content

+ prometheus: add configuration parameters to the accumulator#1382

Open
Iilun wants to merge 1 commit into
kamon-io:masterfrom
Iilun:777-configure-prometheus-periods
Open

+ prometheus: add configuration parameters to the accumulator#1382
Iilun wants to merge 1 commit into
kamon-io:masterfrom
Iilun:777-configure-prometheus-periods

Conversation

@Iilun

@Iilun Iilun commented Feb 25, 2025

Copy link
Copy Markdown

PR Goal

As mentioned in #777, and some discord conversations, the issue of prometheus keeping removed metrics for 5 years can sometimes cause issues.

Choices

The current configuration behavior does not handle reconfiguration. I did not want to make choices on whether to keep data or not if a reload had to modify the snapshot accumulator, and unsure if making the accumulator variable was a good idea anyway. I am of course open to feedback on this issue

@Iilun Iilun force-pushed the 777-configure-prometheus-periods branch from 9b3a579 to 14f9b13 Compare February 25, 2025 13:22
@mkurz

mkurz commented Jul 1, 2025

Copy link
Copy Markdown
Contributor

@ivantopo this one please a well, thanks!

@Iilun

Iilun commented Jul 25, 2025

Copy link
Copy Markdown
Author

@ivantopo Is it possible to take a look at this ? Thank you very much !

@Iilun

Iilun commented Apr 20, 2026

Copy link
Copy Markdown
Author

@ivantopo Do you have an opinion on this PR ?

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.

2 participants