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

Handle long queries #66

Closed
sudeephb opened this issue Mar 19, 2024 · 2 comments
Closed

Handle long queries #66

sudeephb opened this issue Mar 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@sudeephb
Copy link
Contributor

sudeephb commented Mar 19, 2024

Some metrics take too much time to be fetched(eg. ipmi-sel as reported on #62 ). We need to find a robust solution to handle this kind of issues. The solution may(or may not) involve

  • increasing the prometheus scrape interval and timeout,
  • implementing cache for long-running queries
  • Running background checks to fetch metrics independently and write to a file/db, from where grafana-agent can read.

Note that the default prometheus scrape interval is 1m and scrape timeout is 10s.

@Pjack Pjack added the enhancement New feature or request label Mar 21, 2024
@Pjack
Copy link

Pjack commented Dec 16, 2024

Partly solved in
canonical/hardware-observer-operator#282
canonical/hardware-observer-operator#193

With the recent enhancements, I’d like to close this ticket for now unless a specific issue arises again.
It's difficult to track the issue without a well-defined problem statement.

@Pjack Pjack closed this as completed Dec 16, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/SOLENG-994.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants