-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yaml.example
29 lines (29 loc) · 954 Bytes
/
config.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/kashalls/kromgo/main/config.schema.json
badge:
font: Verdana.ttf # Relative to /kromgo - Verdana.ttf is available in the container
size: 12
metrics:
- name: node_cpu_usage
query: "round(cluster:node_cpu:ratio_rate5m * 100, 0.1)"
prefix: "" # Optional
suffix: "%" # Optional
colors: # Optional
- color: "green"
min: 0
max: 35
- color: "orange"
min: 36
max: 75
- color: "red"
min: 76
max: 1000
- name: kubernetes_build_version
query: kubernetes_build_info{service="kubernetes"}
label: git_version
- name: ceph_health_status
query: ceph_health_status{}
colors:
- { valueOverride: 'Ok', color: "green", min: 0, max: 0 }
- { valueOverride: 'Not good', color: "orange", min: 1, max: 1 }
- { valueOverride: 'Whoops', color: "red", min: 2, max: 2 }