File tree Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 2
2
inputs ,
3
3
cell ,
4
4
} : {
5
+ ci-world-loki = {
6
+ datasource = "loki" ;
7
+ rules = [
8
+ {
9
+ alert = "CoredumpDetected" ;
10
+ expr = ''sum(rate({syslog_identifier="systemd-coredump", host=~"core.*"}[1h] != "sshd" |= "dumped core")) by (host) > 0'' ;
11
+ for = "1m" ;
12
+ labels . severity = "critical" ;
13
+ annotations = {
14
+ description = ''
15
+ Detected a coredump on {{ $labels.host }}.
16
+ This usually requires attention and most likely manual intervention.
17
+ To analyze a coredump, run `coredumpctl list` on the affected machine, and run `coredump debug $id` in a nix shell with gdb.'' ;
18
+ summary = "Detected a coredump on {{ $labels.host }}" ;
19
+ } ;
20
+ }
21
+ ] ;
22
+ } ;
23
+
5
24
ci-world-darwin = {
6
25
datasource = "vm" ;
7
26
rules = [
Original file line number Diff line number Diff line change 133
133
"auth/token/lookup-self" = [ r ] ;
134
134
"auth/token/renew-self" = [ u ] ;
135
135
"sys/capabilities-self" = [ u ] ;
136
- "kv/data/perf /*" = [ r l ] ;
137
- "kv/metadata/perf /*" = [ r l ] ;
136
+ "kv/data/postgrest /*" = [ r l ] ;
137
+ "kv/metadata/postgrest /*" = [ r l ] ;
138
138
"nomad/creds/perf" = [ r u ] ;
139
139
"consul/creds/developer" = [ r u ] ;
140
140
"sops/keys/dev" = [ r l ] ;
265
265
# Cell Block local declared dashboards
266
266
inherit
267
267
( cell . alerts )
268
+ ci-world-loki
268
269
ci-world-darwin
269
270
ci-world-spongix
270
271
ci-world-nomad-follower
276
277
( inputs . bitte-cells . bitte . alerts )
277
278
bitte-consul
278
279
bitte-deadmanssnitch
279
- bitte-loki
280
280
bitte-system
281
281
bitte-vault
282
282
bitte-vm-health
Original file line number Diff line number Diff line change 347
347
instanceType = "m5n.4xlarge" ;
348
348
privateIP = "172.16.0.52" ;
349
349
subnet = cluster . vpc . subnets . core-1 ;
350
- volumeSize = 2000 ;
350
+ volumeSize = 3000 ;
351
351
352
352
modules = [
353
353
( bitte + /profiles/auxiliaries/telegraf.nix )
You can’t perform that action at this time.
0 commit comments