mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
added tgi to name of metric
This commit is contained in:
parent
85baa5da89
commit
10448ea8c9
@ -1727,7 +1727,7 @@ pub async fn run(
|
|||||||
.install_recorder()
|
.install_recorder()
|
||||||
.expect("failed to install metrics recorder");
|
.expect("failed to install metrics recorder");
|
||||||
|
|
||||||
metrics::counter!("max_token_capacity").increment(u64::from(max_batch_total_tokens));
|
metrics::counter!("tgi_max_token_capacity").increment(u64::from(max_batch_total_tokens));
|
||||||
|
|
||||||
// CORS layer
|
// CORS layer
|
||||||
let allow_origin = allow_origin.unwrap_or(AllowOrigin::any());
|
let allow_origin = allow_origin.unwrap_or(AllowOrigin::any());
|
||||||
|
Loading…
Reference in New Issue
Block a user