-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added metrics docs, updated links in main docs (#663)
- Loading branch information
Showing
3 changed files
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Metrics | ||
|
||
Prometheus-compatible metrics are made available on the default port, on the `/metrics` endpoint. | ||
|
||
Below is a list of the metrics that are exposed: | ||
| Metric Name | Type | | ||
| -------------------------------------------- | --------- | | ||
| `lorax_request_count` | Counter | | ||
| `lorax_request_success` | Counter | | ||
| `lorax_request_failure` | Counter | | ||
| `lorax_request_duration` | Histogram | | ||
| `lorax_request_queue_duration` | Histogram | | ||
| `lorax_request_validation_duration` | Histogram | | ||
| `lorax_request_inference_duration` | Histogram | | ||
| `lorax_request_mean_time_per_token_duration` | Histogram | | ||
| `lorax_request_generated_tokens` | Histogram | | ||
| `lorax_request_input_length` | Histogram | | ||
|
||
For all histograms, there are metrics that are autogenerated which are the metric name + `_sum` and `_count`, which are the sum of all values for that histogram, and the count of all instances of that histogram respectively. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters