openlit / openlit

OpenLIT: Complete Observability and Evals for the Entire GenAI Stack, from LLMs to GPUs. Improve your LLM apps from playground to production πŸ“ˆ. Supports 20+ monitoring integrations like OpenAI & LangChain. Collect and Send GPU performance, costs, tokens, user activity, LLM traces and metrics to any OpenTelemetry endpoint in just one line of code.

Home Page:https://docs.openlit.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Failed clickhouse connection blocks the page

AmanAgarwal041 opened this issue Β· comments

πŸ› What's Going Wrong?

If the active database config for the clickhouse datasource cannot be reached then also the other queries are still going which blocks the page for the data queries and multiple pending pooling connection are being requested. Hence optimise the application for checking the ping status for the active database beforehand to run the data queries only when the connection is established.

πŸ•΅οΈ Steps to Reproduce

To see the bug, what should we do?

  1. Add a wrong database config
  2. Switch to dashboard page
  3. Observe failed queries

🎯 What Did You Expect?

Describe what you thought would happen.

πŸ“Έ Any Screenshots?

Pictures can say a thousand words and can be super helpful!

πŸ’» Your Setup

  • Doku Version: [e.g., 0.0.1]
  • DokuMetry SDK: [Python or NodeJS]
  • DokuMetry SDK Version: [e.g., 0.0.3]
  • Deployment Method: [Helm, Linux, Windows, Docker]

πŸ“ Additional Notes

Got more to say? Tell us here.

πŸ‘ Want to Help Make It Happen?

  • Yes, I'd like to volunteer and help out with this!

Wrong pr merge led to reopening of this issue.