Skip to content

Commit df23fce

Browse files
committed
reflectors: Track reflector state based on events
This work is not yet used anywhere (so cargo complains about that), it will be used in upcoming commits. Track the health of reflectors for monitoring them in Checkmk later: - Has the reflector ever been initialized fully? (full list) - When did the last relist start/end? - How long did the last relist take? - When was the last error? - How many errors has the reflector ever seen?
1 parent 299f51f commit df23fce

4 files changed

Lines changed: 312 additions & 11 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

metrics-cache/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ kube = { version = "4.0", features = ["ring", "runtime"] }
2323
moka = { version = "0.12.15", features = ["future"] }
2424
opentelemetry-proto = { version = "0.32", default-features = false, features = ["gen-tonic-messages", "metrics"] }
2525
os-release = { workspace = true }
26+
parking_lot = "0.12.5"
2627
prost = "0.14"
2728
rcgen = "0.14.8"
2829
regex = "1.12.4"

0 commit comments

Comments
 (0)