robusta icon indicating copy to clipboard operation
robusta copied to clipboard

Implement DB Health checks with scheduled triggers

Open mvkrishna86 opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. For the scheduled triggers, probably we can add the DB checks like, whether mongodb is reachable and execute a sample query with configured credentials. If its failed or taking more time, then send a notification. Same goes with postgres, mysql, elasticsearch, kafka, etc.

mvkrishna86 avatar May 27 '22 12:05 mvkrishna86

It's a cool idea - I like it.

Ideally we'd find an example that is annoying/impossible to do with liveness checks and/or Prometheus alerts.

Alternatively, we can take an existing Prometheus alert for something like this and add an enricher to make the alert more informative and actionable.

Any ideas?

aantn avatar Jun 07 '22 12:06 aantn

Hi @aantn I would love to take on this issue. I think Prometheus alerts will be a good way to go in this.

kitarp29 avatar Jun 27 '22 20:06 kitarp29

Cool, thank you! @mvkrishna86 is there a specific Prometheus alert that @kitarp29 can work on enriching via Robusta?

aantn avatar Jun 28 '22 05:06 aantn