{{ "pages.opsWatches.lead" | t }}
{{ "ops.watch.manualNote" | t }}
{{ "status.loading" | t }}
} @if (watchesState() === "error") {{{ "ops.loadError" | t }}
} @if (watchesState() === "ok") { @if (watches().length === 0) {{{ "ops.watch.list.empty" | t }}
} @else {| {{ "ops.watch.col.id" | t }} | {{ "ops.watch.col.workload" | t }} | {{ "ops.watch.col.platform" | t }} | {{ "ops.watch.col.rule" | t }} | {{ "ops.watch.col.interval" | t }} | {{ "ops.watch.col.severity" | t }} | {{ "ops.watch.col.state" | t }} | {{ "ops.watch.col.actions" | t }} |
|---|---|---|---|---|---|---|---|
{{ w.watch_id }} |
{{ w.workload }} |
{{ w.platform }} | {{ w.rule }} |
{{ w.interval_s }} | {{ w.severity }} | @if (w.enabled) { {{ "ops.watch.enabled" | t }} } @else { {{ "ops.watch.disabled" | t }} } |
@if (pendingDelete() === w.watch_id) {
@if (w.enabled) {
} @else {
}
}
|
@if (outcome.state === "loading") {
{{ "ops.watch.running" | t }}
}
@if (outcome.state === "error") {
{{ "ops.watch.actionError" | t }}
@if (outcome.detail) {
{{ outcome.detail }}
}
}
@if (outcome.state === "ok") {
@if (outcome.alerts.length === 0) {
{{ "ops.watch.runNone" | t }}
} @else {
{{ outcome.alerts.length }}
{{ "ops.watch.runResult" | t }}
|
|||||||
{{ "ops.watch.actionError" | t }} {{ detail }}
{{ "ops.watch.create.sourceNote" | t }}
{{ "ops.watch.create.error" | t }}
@if (detail) {
{{ detail }}
}
{{ "ops.watch.create.created" | t }} {{ id }}
{{ "ops.watch.alerts.hint" | t }}
@if (alertsState() === "loading") {{{ "status.loading" | t }}
} @if (alertsState() === "error") {{{ "ops.loadError" | t }}
} @if (alertsState() === "ok") { @if (alerts().length === 0) {{{ "ops.watch.alerts.empty" | t }}
} @else {| {{ "ops.watch.col.severity" | t }} | {{ "ops.watch.col.kind" | t }} | {{ "ops.watch.col.watch" | t }} | {{ "ops.watch.col.message" | t }} | {{ "ops.watch.col.ts" | t }} | {{ "ops.watch.col.recovered" | t }} |
|---|---|---|---|---|---|
| {{ a.severity }} | {{ a.kind }} |
{{ a.watch_id }} |
{{ a.message }} | {{ formatTs(a.ts) }} | {{ (a.recovered ? "ops.watch.recovered.yes" : "ops.watch.recovered.no" ) | t }} |