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

fix(outputs.prometheus): expire during add #12160

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Nov 3, 2022

Currently, we are only expiring data is someone is getting the data. This means that if data is continuously pushed but not gathered, the usage can grow and grow. This change forces expiration during add, similar to how v2 handles this.

fixes: #9821

Currently, we are only expiring data is someone is getting the data.
This means that if data is continiously pushed, but not gathered, the
usage can grow and grow. This change forces expiration during add,
similar to how v2 handles this as well.

fixes: influxdata#9821
@telegraf-tiger telegraf-tiger bot added area/prometheus fix pr to fix corresponding bug plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins labels Nov 3, 2022
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Nov 3, 2022

@sspaink sspaink merged commit a1de125 into influxdata:master Nov 7, 2022
powersj added a commit that referenced this pull request Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/prometheus fix pr to fix corresponding bug plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

metric_version = 1 memory leak
3 participants