File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
5151namespace xllm {
5252
5353namespace {
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments