yugabyte/yugabyte-db

[DocDB] Duplicate entries in yb.master metrics for 'rpcs_in_queue_yb_master_MasterService'.

クローズ

#15,538 opened on 2023/01/06

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)C (1,003 件のフォーク)batch import
area/docdbgood first issuekind/bugpriority/medium

Repository metrics

Stars
 (8,229 個のスター)
PR merge metrics
 (平均マージ 17d 21h) (30d で 92 merged PRs)

説明

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.

コントリビューターガイド