mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Add description for the metrics
This commit is contained in:
parent
6e7189f2aa
commit
cabb654fbb
@ -1937,6 +1937,11 @@ async fn start(
|
||||
metrics::Unit::Count,
|
||||
"Maximum tokens for the current batch"
|
||||
);
|
||||
metrics::describe_gauge!(
|
||||
"tgi_batch_total_tokens",
|
||||
metrics::Unit::Count,
|
||||
"Maximum amount of tokens in total."
|
||||
);
|
||||
metrics::describe_histogram!(
|
||||
"tgi_request_max_new_tokens",
|
||||
metrics::Unit::Count,
|
||||
|
Loading…
Reference in New Issue
Block a user