-
Notifications
You must be signed in to change notification settings - Fork 30
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
OCPBUGS-24043: nmea_status and clock_class metrics missing in 4.14 linuxptpdaemon #242
OCPBUGS-24043: nmea_status and clock_class metrics missing in 4.14 linuxptpdaemon #242
Conversation
@aneeshkp: This pull request references Jira Issue OCPBUGS-24043, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (bblock@redhat.com), skipping review request. The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
e319d42
to
ec5b183
Compare
/retest-required |
1 similar comment
/retest-required |
pkg/daemon/metrics.go
Outdated
Namespace: PTPNamespace, | ||
Subsystem: PTPSubsystem, | ||
Name: "clock_class", | ||
Help: "6 = Locked,7 = PRC unlocked but still in spec,52, 187 = PRC unlocked and out of spec,248 = Default,255 = Slave Only Clock", |
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.
"6 = Locked, 7 = PRC unlocked in-spec, 52/187 = PRC unlocked out-of-spec, 248 = Default, 255 = Slave Only Clock"
pkg/daemon/metrics.go
Outdated
Subsystem: PTPSubsystem, | ||
Name: "clock_class", | ||
Help: "6 = Locked,7 = PRC unlocked but still in spec,52, 187 = PRC unlocked and out of spec,248 = Default,255 = Slave Only Clock", | ||
}, []string{"node"}) |
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.
in cloud-event-proxy this is defined as []string{"process", "node"}
pkg/daemon/metrics.go
Outdated
// UpdateClockClassMetrics ... update clock class metrics | ||
func UpdateClockClassMetrics(clockClass float64) { | ||
ClockClassMetrics.With(prometheus.Labels{ | ||
"node": NodeName}).Set(float64(clockClass)) |
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.
add process
/retest-required |
372e7df
to
30aded7
Compare
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.
/lgtm
Signed-off-by: Aneesh Puttur <aputtur@redhat.com>
30aded7
to
8097dc3
Compare
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aneeshkp, jzding 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 |
@aneeshkp: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@aneeshkp: Jira Issue OCPBUGS-24043: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-24043 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[ART PR BUILD NOTIFIER] This PR has been included in build ose-linuxptp-daemon-container-v4.15.0-202311292108.p0.gdd7b86c.assembly.stream for distgit linuxptp-daemon. |
add clock class metrics