-
Notifications
You must be signed in to change notification settings - Fork 177
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
Metrics/GenevaActions for Clustersync #3785
Conversation
3cdbf8c
to
8d1a6e9
Compare
b5ac73b
to
99fa8df
Compare
08835f8
to
41a6e7c
Compare
Azure Pipelines successfully started running 1 pipeline(s). |
4522c6e
to
9c145d8
Compare
9c145d8
to
3ec319c
Compare
Documenting E2E failure here prior to my commits to attempt to fix it:
|
d6a1882
to
0740eea
Compare
I reverted the changes of app/test/e2e/monitor.go and passed NIL for hiveClusterManager |
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.
Overall, LGTM. Just a few nitpicks and clean code suggestions.
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.
I have some minor comments on the monitor code, but mostly lgtm!
0740eea
to
43bb2f7
Compare
merging 8659 and 9545 Metrics for SyncSet and SelectorSyncSets
without Hive, make sure that it doesn't panic when the monitor's hive.ClusterManager is nil Compare to preexisting code in emitHiveRegistrationStatus
43bb2f7
to
05a6fe2
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
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.
* Metrics for SyncSet and SelectorSyncSets merging 8659 and 9545 Metrics for SyncSet and SelectorSyncSets * Since emitClusterSync is run unconditionally, even in environment without Hive, make sure that it doesn't panic when the monitor's hive.ClusterManager is nil Compare to preexisting code in emitHiveRegistrationStatus * Add Hive rest config and ClusterManager to monitor --------- Co-authored-by: kimorris27 <[email protected]>
* Metrics for SyncSet and SelectorSyncSets merging 8659 and 9545 Metrics for SyncSet and SelectorSyncSets * Since emitClusterSync is run unconditionally, even in environment without Hive, make sure that it doesn't panic when the monitor's hive.ClusterManager is nil Compare to preexisting code in emitHiveRegistrationStatus * Add Hive rest config and ClusterManager to monitor --------- Co-authored-by: kimorris27 <[email protected]>
Which issue this PR addresses:
ARO-9545 and ARO-8659 both JIRA's have common code
What this PR does / why we need it:
Test plan for issue:
Unit test cases added.
Need to create respective metrics dashboard in Geneva.
Is there any documentation that needs to be updated for this PR?
Will create TSGs for respective metrics.
How do you know this will function as expected in production?
Monitor from Geneva Dashboard.