-
Notifications
You must be signed in to change notification settings - Fork 1.3k
monitoring: disable critical alerts banner by default #12155
monitoring: disable critical alerts banner by default #12155
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12155 +/- ##
=======================================
Coverage 50.66% 50.67%
=======================================
Files 1420 1420
Lines 80360 80360
Branches 6734 6680 -54
=======================================
+ Hits 40718 40721 +3
+ Misses 36061 36059 -2
+ Partials 3581 3580 -1
|
Codecov Report
@@ Coverage Diff @@
## master #12155 +/- ##
=======================================
Coverage 50.66% 50.67%
=======================================
Files 1420 1420
Lines 80360 80360
Branches 6734 6734
=======================================
+ Hits 40718 40721 +3
+ Misses 36061 36059 -2
+ Partials 3581 3580 -1
|
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.
Approve to unblock.
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <[email protected]>
@@ -175,7 +175,7 @@ | |||
"alerts.hideObservabilitySiteAlerts": { | |||
"description": "Disables observability-related site alert banners.", | |||
"type": "boolean", | |||
"default": false | |||
"default": true |
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.
Sorry for the confusion, but these default values are not respected they only act as documentation. This had no impact on the actual default behavior - you need to handle that at the location where you use this setting in code
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.
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.
When you fix this, make sure you cherry-pick the commit into the 3.18
branch so it gets into the release as well
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.
Ah that's unfortunate - thanks for catching that! https://github.com/sourcegraph/sourcegraph/pull/12189
fixes https://github.com/sourcegraph/sourcegraph/pull/12155#discussion_r454655541 - setting the default in the schema is not sufficient
fixes https://github.com/sourcegraph/sourcegraph/pull/12155#discussion_r454655541 - setting the default in the schema is not sufficient
This banner is currently a significant source of confusion, and since we're still working on dogfooding alerts in sourcegraph.com (https://github.com/sourcegraph/sourcegraph/issues/5370) it's hard to say we're confident about all our alerts enough to have it displayed so prominently (yet)
This changes the default of
alerts.hideObservabilitySiteAlerts
totrue
Most recent Slack discussion: https://sourcegraph.slack.com/archives/C07KZF47K/p1594730258245600