Add description for the metrics

This commit is contained in:
Nicolas Patry 2024-10-01 16:36:43 +02:00
parent 6e7189f2aa
commit cabb654fbb
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863

View File

@ -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,