mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #462] [MERGED] feat: use Prometheus to publish API Server metrics #479
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/llama_deploy/pull/462
Author: @masci
Created: 2/13/2025
Status: ✅ Merged
Merged: 2/13/2025
Merged by: @masci
Base:
main← Head:massi/o11y📝 Commits (2)
78364d5add prometheus client4f48558feat: use Prometheus to publish API Server metrics📊 Changes
6 files changed (+40 additions, -2 deletions)
View changed files
📝
docker/run_apiserver.py(+5 -0)📝
docker/run_autodeploy.py(+6 -1)📝
llama_deploy/apiserver/__main__.py(+5 -0)📝
llama_deploy/apiserver/settings.py(+8 -0)📝
poetry.lock(+15 -1)📝
pyproject.toml(+1 -0)📄 Description
In preparation of providing proper observability for the whole LlamaDeploy system, this PR introduces the use of Prometheus to collect and expose metrics. The Prometheus server is enable by default but can be disabled setting the environment variable
LLAMA_DEPLOY_APISERVER_PROMETHEUS_ENABLED=false.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.