Skip to content

Commit 0b8fc1f

Browse files
authored
refactor: rename xllm_metrics.h to rpc_request_metrics.h. (#2300)
1 parent 5731d87 commit 0b8fc1f

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

xllm/api_service/api_service.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ limitations under the License.
2525
#include "api_service/chat_json_parser.h"
2626
#include "api_service/completion_json_parser.h"
2727
#include "api_service/request_id.h"
28+
#include "api_service/rpc_request_metrics.h"
2829
#include "api_service/service_impl_factory.h"
2930
#include "api_service/serving_mode.h"
3031
#include "call.h"
@@ -47,7 +48,6 @@ limitations under the License.
4748
#include "service_impl_factory.h"
4849
#include "text_generation.pb.h"
4950
#include "video_generation.pb.h"
50-
#include "xllm_metrics.h"
5151
namespace xllm {
5252

5353
namespace {
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,4 @@ static void request_out_metric(void* context) {
4141
}
4242
}
4343

44-
static void device_info_metric() {
45-
// TODO: get cpu device info
46-
GAUGE_SET(xllm_cpu_num, 0);
47-
GAUGE_SET(xllm_cpu_utilization, 0);
48-
49-
// TODO: get gpu device info
50-
GAUGE_SET(xllm_gpu_num, 0);
51-
GAUGE_SET(xllm_gpu_utilization, 0);
52-
}
53-
5444
} // namespace xllm

0 commit comments

Comments
 (0)