feat(grafana): add Kubernetes 1621 and 747 curated packs - #441
Open
shmsr wants to merge 1 commit into
Open
Conversation
1621 is the all-/dev/* filesystem fork of 315 with a working Node control on instance. 747 replaces markdown $Pod_ip/$container with live tiles and keeps root-cgroup series out of pod-scoped KPIs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fix/field-profile-coverage-and-metric-map-prefix). 747'smetric_mapuses barekube_pod_container_status_restarts→kube_pod_container_status_restarts_total; that fail-closed prefix check is why this cannot land onmainfirst.devicestarting/dev/(315's^/dev/[sv]d[a-z][1-9]$misses nvme).$Nodeis rewritten to canonicalinstanceand populated fromlabel_values(machine_cpu_cores, instance)as multi-select. Duplicate Used/Total tiles are renamed Memory/CPU/Filesystem; systemd stays an honest empty; obsolete docker/rkt series are dropped withapproximation_note.pod_name/ hostname → canonicalpod/instance. Hidden$Pod_ip/$phase/$containermarkdown becomes a pod→IP datatable, pod→container datatable, and Running metric tile. Engine:textpanels with a curatedesql_queryoverride continue translation instead of always early-returning markdown.$Pod+$Nodeare multi-select; panel ES|QL usesMV_CONTAINSandpod IS NOT NULLso the root cgroup cannot leak into pod KPIs. Grafana CPU Total (format=bytes, node-wide rate) is titled Node CPU withprimary_format: short.k8s_exporternow emits/dev/nvme0n1p1pluspod_iponkube_pod_infoandkube_pod_container_infoso both packs validate on the curated rig.Test plan
pytest tests/test_curated_packs.py -k "1621 or 747"(16 passed)tests/test_field_profile_portability.py -k "test_k8s_pack_no_profile_leakage and (1621 or 747)"(8 passed)scripts/run_cross_profile_corpus.py --input-dir /tmp/k8s-pack-corpus— OKlive_validate --fail-on-bug: 1621 21/21 ok, 747 17/17 ok, 0 real bugsdashboards_api --fail-on-error: 21 and 18 mapped, 0 errorsgrafana-validate-uploaded --fail-on-runtime-errors: 0 runtime errors; 1621 has 2 expected empty systemd panels--fail-on-error: both pass10.244.0.1/.2Fixes #401
Fixes #400