bricks-cloud / BricksLLM

🔒 Enterprise-grade API gateway that helps you monitor and impose cost or rate limits per API key. Get fine-grained access control and monitoring per user, application, or environment. Supports OpenAI, Azure OpenAI, Anthropic, vLLM, and open-source LLMs.
https://trybricks.ai/
MIT License
863 stars 60 forks source link

make enabliong statsd configurable #77

Closed GingerMoon closed 2 months ago

GingerMoon commented 2 months ago

after this pr, I'd like to add prometheus support

GingerMoon commented 2 months ago

please feel free to let me know if you have any concern.

spikelu2016 commented 2 months ago

if StatsEnabled is set to false, we will have nil pointer dereference error whenever incr is called. can you help ensure that even when StatsEnabled is set to false, this error does not happen?

GingerMoon commented 2 months ago

Done.