mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
feat(kromgo)!: no suppressed alerts, Times New Ramen
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/kashalls/kromgo/main/config.schema.json
|
||||
badge:
|
||||
font: TimesNewRamen.woff
|
||||
size: 12
|
||||
metrics:
|
||||
# Kubernetes cluster
|
||||
- name: cluster_cpu_usage
|
||||
@@ -89,7 +92,8 @@ metrics:
|
||||
|
||||
- name: prometheus_active_alerts
|
||||
title: Biohazard - Active Alerts
|
||||
query: count(ALERTS{alertstate="firing"})
|
||||
#query: count(ALERTS{alertstate="firing"})
|
||||
query: max(alertmanager_alerts{state="active"}) # doesn't count suppressed
|
||||
colors:
|
||||
- { color: "green", min: 0, max: 1 }
|
||||
- { color: "orange", min: 2, max: 4 }
|
||||
|
||||
@@ -6,6 +6,11 @@ configMapGenerator:
|
||||
namespace: kromgo
|
||||
files:
|
||||
- config.yaml
|
||||
#secretGenerator:
|
||||
- name: kromgo-fonts
|
||||
namespace: kromgo
|
||||
files:
|
||||
- 'TimesNewRamen.woff=https://raw.githubusercontent.com/okfocus/times-new-ramen/ca4ebcaff98e0aa4e2746f7d7c0fad09c63e0b67/TimesNewRamen-Regular.woff'
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
annotations:
|
||||
|
||||
@@ -102,6 +102,13 @@ spec:
|
||||
- subPath: config.yaml
|
||||
path: /kromgo/config.yaml
|
||||
readOnly: true
|
||||
fonts:
|
||||
type: configMap
|
||||
name: kromgo-fonts
|
||||
globalMounts:
|
||||
- subPath: TimesNewRamen.woff
|
||||
path: /kromgo/TimesNewRamen.woff
|
||||
readOnly: true
|
||||
defaultPodOptions:
|
||||
automountServiceAccountToken: false
|
||||
enableServiceLinks: false
|
||||
|
||||
Reference in New Issue
Block a user