Skip to content

Commit 27c3af7

Browse files
committed
COO-1515: add the cluster-health-analyzer feature
1 parent 368ea66 commit 27c3af7

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/extensions/1",
5+
"value": {
6+
"type": "console.tab",
7+
"properties": {
8+
"contextId": "admin-alerts-nav",
9+
"name": "%plugin__monitoring-console-plugin~Incidents%",
10+
"href": "incidents",
11+
"component": {
12+
"$codeRef": "IncidentsPage.McpCmoAlertingPage"
13+
}
14+
}
15+
}
16+
}
17+
]

pkg/server.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ type PluginConfig struct {
5656
type Feature string
5757

5858
const (
59-
AcmAlerting Feature = "acm-alerting"
60-
Incidents Feature = "incidents"
61-
DevConfig Feature = "dev-config"
62-
PersesDashboards Feature = "perses-dashboards"
59+
AcmAlerting Feature = "acm-alerting"
60+
Incidents Feature = "incidents"
61+
DevConfig Feature = "dev-config"
62+
PersesDashboards Feature = "perses-dashboards"
63+
ClusterHealthAnalyzer Feature = "cluster-health-analyzer"
6364
)
6465

6566
func (pluginConfig *PluginConfig) MarshalJSON() ([]byte, error) {

0 commit comments

Comments
 (0)