feat: opentelemetry and prometheus (#2543)

* opentelemetry and prometheus

* set env override in create_app

* add prometheus_client to pyproject

* update top level poetry.lock
This commit is contained in:
ming 2024-07-05 08:50:53 -04:00 • committed by GitHub
commit c444a6905c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 299 additions and 16 deletions

View file

@ -65,7 +65,10 @@ uncurl = "^0.0.11"
sentry-sdk = {extras = ["fastapi", "loguru"], version = "^2.5.1"}
chardet = "^5.2.0"
firecrawl-py = "^0.0.16"
opentelemetry-api = "^1.25.0"
opentelemetry-sdk = "^1.25.0"
opentelemetry-exporter-prometheus = "^0.46b0"
prometheus-client = "^0.20.0"
[tool.poetry.extras]
deploy = ["celery", "redis", "flower"]