-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fixing alert dashboard issue with grafana 5.x.x #579
base: master
Are you sure you want to change the base?
Conversation
@shtripat @cloudbehl @nthomas-redhat @anmolsachan, please review I saw exiting logic also causing some issue with the alert dashboard, especially with a host alert dashboard. I did a very small change for that. The main dashboard does not have any problem. |
Verified |
@@ -60,8 +60,6 @@ def upload_default_dashboards(): | |||
|
|||
if 'dashboard' in dashboard_json: | |||
dashboard_id = dashboard_json.get('dashboard').get('id') | |||
response = dashboard_utils.set_home_dashboard(dashboard_id) |
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.
This line is redundant, So i removed 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.
redundant line
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
We don't need to take this issue for now, we are still not moved to grafana 5.x.x |
I did small change to work existing alerting logic to work with latest grafana. tendrl-bug-id: Tendrl#372 Signed-off-by: GowthamShanmugasundaram <[email protected]>
4e1f029
to
0ece42f
Compare
Codecov Report
@@ Coverage Diff @@
## master #579 +/- ##
=========================================
Coverage ? 44.15%
=========================================
Files ? 41
Lines ? 2351
Branches ? 352
=========================================
Hits ? 1038
Misses ? 1260
Partials ? 53
Continue to review full report at Codecov.
|
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.
Looks fine. Make sure it tested extensively.
I did small change to work existing alerting logic to work with
latest grafana.
tendrl-bug-id: #372
Signed-off-by: GowthamShanmugasundaram [email protected]