llama-stack-mirror/docs/source
Charlie Doern 49b729b30a feat: api level request metrics via middleware
add RequestMetricsMiddleware which tracks key metrics related to each request the LLS server will recieve:

1. llama_stack_requests_total: tracks the total amount of requests the server has processed
2. llama_stack_request_duration_seconds: tracks the duration of each request
3. llama_stack_concurrent_requests: tracks concurrently processed requests by the server

The usage of a middleware allows this to be done on the server level without having to add custom handling to each router like the inference router has today for its API specific metrics.

Also, add some unit tests for this functionality

resolves #2597

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2025-08-03 13:14:25 -04:00
..
advanced_apis docs: part 1 - fix warnings in documentation generation (#2861) 2025-07-30 10:50:10 -07:00
apis chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
building_applications feat: api level request metrics via middleware 2025-08-03 13:14:25 -04:00
concepts docs: update list of apis (#2697) 2025-07-24 09:50:14 -07:00
contributing docs: part 1 - fix warnings in documentation generation (#2861) 2025-07-30 10:50:10 -07:00
deploying chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
distributions refactor: remove Conda support from Llama Stack (#2969) 2025-08-02 15:52:59 -07:00
getting_started refactor: remove Conda support from Llama Stack (#2969) 2025-08-02 15:52:59 -07:00
providers feat: Add openAI compatible APIs to Qdrant (#2465) 2025-08-01 00:41:34 -04:00
references refactor: remove Conda support from Llama Stack (#2969) 2025-08-02 15:52:59 -07:00
conf.py docs: Reorganize documentation on the webpage (#2651) 2025-07-15 14:19:35 -07:00
index.md docs: Reorganize documentation on the webpage (#2651) 2025-07-15 14:19:35 -07:00