-
Notifications
You must be signed in to change notification settings - Fork 17
🌱 add grpc subscribers metric. #148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 add grpc subscribers metric. #148
Conversation
Signed-off-by: morvencao <[email protected]> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
55a90fb
to
262b3de
Compare
Signed-off-by: morvencao <[email protected]> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
/assign @qiujian16 @skeeey @clyang82 |
var grpcCEMetricsCommonLabels = []string{ | ||
grpcCEMetricsClusterLabel, | ||
grpcCEMetricsDataTypeLabel, | ||
grpcCEMetricsMethodLabel, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need method label?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for grpc_server_ce_subscribers
, no need method label.
for other grpc_server_ce_*
metrics, need method label, see it in grpcCEMetricsHandlerLabels
/lgtm |
"sync" | ||
"time" | ||
|
||
"open-cluster-management.io/sdk-go/pkg/cloudevents/server/grpc/heartbeat" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we also need to consider the heartbeat metrics, but we can use the other pr to handle it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
LGTM |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: morvencao, qiujian16 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
9633a0b
into
open-cluster-management-io:main
rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Summary
original_source
label for cloudevents metric of source side (for agent side, still keep it).Related issue(s)
open-cluster-management-io/enhancements#153
Fixes #