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

Improve performance of metrics collectors #1242

Open
GeorgeTsagk opened this issue Dec 6, 2024 · 0 comments
Open

Improve performance of metrics collectors #1242

GeorgeTsagk opened this issue Dec 6, 2024 · 0 comments
Labels
enhancement New feature or request loadtests monitoring Related to system monitoring and metrics
Milestone

Comments

@GeorgeTsagk
Copy link
Member

Description

We currently have a couple of different collectors that are working every time a prometheus scrape occurs.
The default timeout for these scrapes is 10s, and under loaded environments some of the queries performed by those collectors may introduce great delays, possibly extending the metric collection beyond the 10s default timeout.

Proposed solution

Identify the resource-intensive data collections and have them running independently in the background. This way the "heavy" calculation will be avoided at scrape time, and will instead be replaced by a system that's instantly providing the latest metric values.

@GeorgeTsagk GeorgeTsagk added enhancement New feature or request monitoring Related to system monitoring and metrics loadtests labels Dec 6, 2024
@dstadulis dstadulis moved this from 🆕 New to 🔖 Ready in Taproot-Assets Project Board Dec 6, 2024
@dstadulis dstadulis added this to the v0.6 - Post MVP Features milestone Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request loadtests monitoring Related to system monitoring and metrics
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants