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

Ephemeral backends produce high IO consumption. #43

Closed
gsanchezgavier opened this issue May 2, 2022 · 0 comments · Fixed by #44
Closed

Ephemeral backends produce high IO consumption. #43

gsanchezgavier opened this issue May 2, 2022 · 0 comments · Fixed by #44
Assignees
Labels
bug Categorizes issue or PR as related to a bug. triage/pending Issue or PR is pending for triage and prioritization.

Comments

@gsanchezgavier
Copy link
Contributor

gsanchezgavier commented May 2, 2022

Description

The integration is currently creating entities per backends and the PRATE metrics type are calculated based on stored values for these metrics associated to each entity. When the integration runs in environments with ephemeral backends the number of stored metrics increase until the files gets deleted if the integration execution interval exceeds the TTL.

Since in a normal the TTL should not be exceeded so the storer file are not going to be garbage collected. This behavior can lead to the storer file increase it size after each execution of the integration (when new backends are collected) leading to high use of I/O (integration maps that file into the memory at execution time) and disk footprint.

Expected Behavior

Ideally the storer should manage TTL at metric level so if the entity metrics are not being updated that gets deleted.

Additional context

Additional info in this ticket

@gsanchezgavier gsanchezgavier added bug Categorizes issue or PR as related to a bug. triage/pending Issue or PR is pending for triage and prioritization. labels May 2, 2022
@gsanchezgavier gsanchezgavier self-assigned this May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug. triage/pending Issue or PR is pending for triage and prioritization.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant