Skip to content

Commit

Permalink
Merge pull request #1423 from westlywright/bugs.monitoring.alerting
Browse files Browse the repository at this point in the history
Monitoring Product Link Update
  • Loading branch information
vincent99 authored Sep 25, 2020
2 parents 0b19f3f + 26cbcb7 commit dfca4d8
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions config/product/monitoring.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,12 @@ export function init(store) {
SERVICEMONITOR,
PODMONITOR,
PROMETHEUSRULE,
PROMETHEUSE,
THANOSRULER,
PROMETHEUSE
} = MONITORING;

product({
ifHaveType: [
ALERTMANAGER,
SERVICEMONITOR,
PODMONITOR,
PROMETHEUSRULE,
PROMETHEUSE,
THANOSRULER,
],
// icon: 'prometheus'
ifHaveGroup: 'monitoring.coreos.com',
// icon: 'prometheus'
});

virtualType({
Expand All @@ -41,7 +33,13 @@ export function init(store) {

basicType('monitoring-overview');

basicType([SERVICEMONITOR, PODMONITOR, PROMETHEUSRULE, ALERTMANAGER, PROMETHEUSE]);
basicType([
SERVICEMONITOR,
PODMONITOR,
PROMETHEUSRULE,
ALERTMANAGER,
PROMETHEUSE
]);

weightType(SERVICEMONITOR, 104, true);
weightType(PODMONITOR, 103, true);
Expand Down

0 comments on commit dfca4d8

Please sign in to comment.