cockroachdb / cockroachdb/cockroach
rpc: change the protocol label to a static label attached to the aggmetric
Open
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
Assessment
This issue has not been assessed yet.