diff --git a/chaos_genius/templates/alert_dashboard.html b/chaos_genius/templates/alert_dashboard.html index 9c41d876..3b492364 100644 --- a/chaos_genius/templates/alert_dashboard.html +++ b/chaos_genius/templates/alert_dashboard.html @@ -104,9 +104,6 @@

Alerts Dashboard

Channel - - Change - Date @@ -116,6 +113,9 @@

Alerts Dashboard

Severity Score + + Alert Description + @@ -362,15 +362,6 @@

Alerts Dashboard

{% endfor %} ], "{{ point.alert_channel }}", - {% if point.percent_change is string %} - "{{ point.percent_change_formatted }}", - {% else %} - {% if point.percent_change >= 0 %} - "{{ point.percent_change_formatted }} higher than expected", - {% else %} - "{{ point.percent_change_formatted }} lower than expected", - {% endif %} - {% endif %} "{{ point.date_only }}", "{{ point.expected_range }}", `{% if point.severity >= 65 %} @@ -386,7 +377,16 @@

Alerts Dashboard

{% endif %} - {{ point.severity }}`, + {{ point.severity }}`, + {% if point.percent_change is string %} + "{{ point.percent_change_formatted }}", + {% else %} + {% if point.percent_change >= 0 %} + "{{ point.percent_change_formatted }} higher than expected", + {% else %} + "{{ point.percent_change_formatted }} lower than expected", + {% endif %} + {% endif %} ], {% endfor %} ]; @@ -406,14 +406,15 @@

Alerts Dashboard

dataTableAnomaly.kpiIdColIndex = 3; dataTableAnomaly.emailColIndex = 9; dataTableAnomaly.channelColIndex = 10; - dataTableAnomaly.dateOnlyColIndex = 12; + dataTableAnomaly.dateOnlyColIndex = 11; dataTableAnomaly.valueColIndex = 6; dataTableAnomaly.previousValueColIndex = 7; dataTableAnomaly.expectedValueColIndex = 8; dataTableAnomaly.dimensionColIndex = 4; dataTableAnomaly.timeStampColIndex = 5; - dataTableAnomaly.expectedRangeColIndex = 13; - dataTableAnomaly.severityColIndex = 14; + dataTableAnomaly.expectedRangeColIndex = 12; + dataTableAnomaly.severityColIndex = 13; + dataTableAnomaly.alertDescColIndex = 14; dataTableAnomaly.on('datatable.init', function(args) { dataTableAnomaly.head.getElementsByTagName('th')[dataTableAnomaly.valueColIndex].getElementsByTagName('a')[0].classList.add('desc');