Spaces:
Paused
Paused
|
Download docs/source/configuration/metrics.md from maksym-work/chat_ui: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/maksym-work/chat_ui/resolve/main/docs/source/configuration/metrics.md
- Command line
-
hf download hf://spaces/maksym-work/chat_ui/docs/source/configuration/metrics.md
-
curl -L -o metrics.md https://huggingface.co/spaces/maksym-work/chat_ui/resolve/main/docs/source/configuration/metrics.md
408 Bytes
Metrics
The server can expose prometheus metrics on port 5565 but is off by default. You may enable the metrics server with METRICS_ENABLED=true and change the port with METRICS_PORT=1234.
In development with npm run dev, the metrics server does not shutdown gracefully due to Sveltekit not providing hooks for restart. It's recommended to disable the metrics server in this case.