cockroachdb / cockroachdb/cockroach

rpc: change the protocol label to a static label attached to the aggmetric

Open
#167,914 0 comments 0 reactions 1 assignee Claimed by @suj-krishnan View on GitHub
C-enhancement T-db-server
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

The existing protocol label for rpc peer metrics is attached to the child metrics and therefore is a dynamic label that results in a new instance of the child metric per label combination. However, since the protocol is known at server startup time and cannot be changed later, it can be a static label on the parent metric instead.
Jira issue: CRDB-62724

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.