File: README.md

package info (click to toggle)
prometheus-fastapi-instrumentator 7.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 492 kB
  • sloc: python: 2,586; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# Examples

- **[metrics-diff-port-uvicorn](./metrics-diff-port-uvicorn/):** Instrumented
  FastAPI app run with Uvicorn, but `/metrics` endpoint is exposed on a separate
  endpoint using Prometheus' `start_http_server` function.

- **[default-metrics-diff-labels](./default-metrics-diff-labels/):** Usage of
  PFI with a custom instrumentation function that mimics the default metrics but
  with custom label names.

- **[prom-multi-proc-gunicorn](./prom-multi-proc-gunicorn/):** How to use
  FastAPI app run with Gunivorn in combination with Prometheus client library.
  Focus on multiprocessing mode.