File tree Expand file tree Collapse file tree 4 files changed +8
-20
lines changed
bindings/python/rust/llm/block_manager/vllm/connector Expand file tree Collapse file tree 4 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ use crate::llm::block_manager::{
1515 vllm:: KvbmRequest , VllmBlockManager ,
1616} ;
1717use crate :: DistributedRuntime as PyDistributedRuntime ;
18- use dynamo_runtime:: metrics:: prometheus_names:: kvbm_connector_namespace ;
18+ use dynamo_runtime:: metrics:: prometheus_names:: kvbm_connector ;
1919
2020use dynamo_llm:: block_manager:: {
2121 block:: {
@@ -104,7 +104,7 @@ impl KvConnectorLeader {
104104 let drt = drt. inner ( ) . clone ( ) ;
105105
106106 let ns = drt
107- . namespace ( kvbm_connector_namespace :: KVBM_CONNECTOR_LEADER )
107+ . namespace ( kvbm_connector :: KVBM_CONNECTOR_LEADER )
108108 . unwrap ( ) ;
109109
110110 let kvbm_metrics = KvbmMetrics :: new ( & ns) ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use crate::{
1616 llm:: block_manager:: distributed:: VllmTensor , to_pyerr,
1717 DistributedRuntime as PyDistributedRuntime ,
1818} ;
19- use dynamo_runtime:: metrics:: prometheus_names:: kvbm_connector_namespace ;
19+ use dynamo_runtime:: metrics:: prometheus_names:: kvbm_connector ;
2020
2121use anyhow;
2222use dynamo_llm:: block_manager:: distributed:: { KvbmWorker , KvbmWorkerConfig } ;
@@ -93,7 +93,7 @@ impl KvConnectorWorker {
9393 . detach ( ) ;
9494
9595 let kvbm_metrics = KvbmMetrics :: new (
96- & drt. namespace ( kvbm_connector_namespace :: KVBM_CONNECTOR_WORKER )
96+ & drt. namespace ( kvbm_connector :: KVBM_CONNECTOR_WORKER )
9797 . unwrap ( ) ,
9898 ) ;
9999
Original file line number Diff line number Diff line change 11// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22// SPDX-License-Identifier: Apache-2.0
3- //
4- // Licensed under the Apache License, Version 2.0 (the "License");
5- // you may not use this file except in compliance with the License.
6- // You may obtain a copy of the License at
7- //
8- // http://www.apache.org/licenses/LICENSE-2.0
9- //
10- // Unless required by applicable law or agreed to in writing, software
11- // distributed under the License is distributed on an "AS IS" BASIS,
12- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13- // See the License for the specific language governing permissions and
14- // limitations under the License.
153
164use dynamo_runtime:: metrics:: MetricsRegistry ;
175use prometheus:: IntCounter ;
Original file line number Diff line number Diff line change @@ -133,11 +133,11 @@ pub mod work_handler {
133133 pub const REQUEST_DURATION_SECONDS : & str = "request_duration_seconds" ;
134134}
135135
136- /// KVBM connector namespace names
137- pub mod kvbm_connector_namespace {
138- /// KVBM connector leader namespace
136+ /// KVBM connector
137+ pub mod kvbm_connector {
138+ /// KVBM connector leader
139139 pub const KVBM_CONNECTOR_LEADER : & str = "kvbm_connector_leader" ;
140140
141- /// KVBM connector worker namespace
141+ /// KVBM connector worker
142142 pub const KVBM_CONNECTOR_WORKER : & str = "kvbm_connector_worker" ;
143143}
You can’t perform that action at this time.
0 commit comments