yugabyte/yugabyte-db
[DocDB] Duplicate entries in yb.master metrics for 'rpcs_in_queue_yb_master_MasterService'.
已关闭
#15,538 创建于 2023年1月6日
area/docdbgood first issuekind/bugpriority/medium
仓库指标
- 星标
- (8,229 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Jira Link: DB-4933
Description
Yugabyte version: 2.17.0.0b24 (public version) OS: Linux (Alma 8.7, x86_64)
The master /metrics endpoint contains several entries for the rpcs_in_queue_yb_master_MasterService metric in yb.master, which should be one.
This can be tested/verified using: curl -s http://192.168.66.80:7000/metrics | grep -e \"id\" -e rpcs_in_queue_yb_master_MasterService:
$ curl -s http://192.168.66.80:7000/metrics | grep -e \"id\" -e rpcs_in_queue_yb_master_MasterService
"id": "yb.master",
"name": "rpcs_in_queue_yb_master_MasterService",
"name": "rpcs_in_queue_yb_master_MasterService",
"name": "rpcs_in_queue_yb_master_MasterService",
"name": "rpcs_in_queue_yb_master_MasterService",
"name": "rpcs_in_queue_yb_master_MasterService",
"name": "rpcs_in_queue_yb_master_MasterService",
"name": "rpcs_in_queue_yb_master_MasterService",
"name": "rpcs_in_queue_yb_master_MasterService",
"id": "sys.catalog.uuid",
"id": "00000000000000000000000000000000",
"id": "yb.cluster",
This shows 8 statistics rpcs_in_queue_yb_master_MasterService metrics for yb.master.
Equally, 8 entries are shown in the /prometheus-metrics endpoint.