mirror of https://github.com/prometheus/prometheus
Remove broken alert silencing links.
Let's remove the silencing links until we actually have support for that. A silencing link shouldn't only redirect to Alertmanager, but also open a silencing dialog for the respective alert name or active alert element.pull/1000/head
parent
0f5022c091
commit
e88007306c
File diff suppressed because one or more lines are too long
|
@ -9,10 +9,6 @@ function init() {
|
||||||
}
|
}
|
||||||
$(this).next().toggle();
|
$(this).next().toggle();
|
||||||
});
|
});
|
||||||
|
|
||||||
$(".silence_alert_link, .silence_children_link").click(function() {
|
|
||||||
alert("Silencing is not yet supported.");
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$(init);
|
$(init);
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
<td>
|
<td>
|
||||||
<div>
|
<div>
|
||||||
<pre><code>{{.HTMLSnippet pathPrefix}}</code></pre>
|
<pre><code>{{.HTMLSnippet pathPrefix}}</code></pre>
|
||||||
<a href="#" class="silence_children_link">Silence all instances of this alert…</a>
|
|
||||||
</div>
|
</div>
|
||||||
{{if $activeAlerts}}
|
{{if $activeAlerts}}
|
||||||
<table class="table table-bordered table-hover table-condensed alert_elements_table">
|
<table class="table table-bordered table-hover table-condensed alert_elements_table">
|
||||||
|
@ -39,7 +38,6 @@
|
||||||
<td><span class="alert alert-{{ .State | alertStateToClass }} state_indicator text-uppercase">{{.State}}</span></td>
|
<td><span class="alert alert-{{ .State | alertStateToClass }} state_indicator text-uppercase">{{.State}}</span></td>
|
||||||
<td>{{.ActiveSince.Time.UTC}}</td>
|
<td>{{.ActiveSince.Time.UTC}}</td>
|
||||||
<td>{{.Value}}</td>
|
<td>{{.Value}}</td>
|
||||||
<td><a href="#" class="silence_alert_link">Silence…</a></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{{end}}
|
{{end}}
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue