feat(observability): add node infrastructure section with lazy loading and node events#2462
feat(observability): add node infrastructure section with lazy loading and node events#2462
Conversation
…on labels - Add `Killing` reason to K8s event query in instance-status-chart to capture kubelet container termination events - Update `Evicted` event description to mention Karpenter node consolidation explicitly - Add new `Killing` case to getDescriptionFromK8sEvent with context on node consolidation and resource pressure - Add new `CardNodeEvents` component showing Karpenter node lifecycle events (scale up/down, consolidation) fetched via `getClusterKubernetesEvents` API with `karpenter.sh` reporting component filter - Integrate `CardNodeEvents` into service-dashboard between "Service health check" and "Resources" sections; card renders nothing when Karpenter is not present
…g and improved events - Add LazyChart wrapper with IntersectionObserver to defer chart rendering until in viewport - Add NodeStatusChart (node count over time with scale events in sidebar) - Add CpuThrottlingChart to resources section - Add CardNodeEvents table using Prometheus k8s_event_logger metric - Filter node events by object_kind=~Node|NodeClaim with relevant reasons only - Color-code event reasons (red=errors, green=launched, orange=lifecycle) - Hide Repository/Version in event sidebar when empty - Remove redundant description from node scale events in sidebar - Simplify isAutoscalingEnabled match branches
|
Qovery can create a Preview Environment for this PR.
This comment has been generated from Qovery AI 🤖.
|
7ed36fb to
e07c36f
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## staging #2462 +/- ##
===========================================
+ Coverage 46.00% 48.52% +2.52%
===========================================
Files 133 413 +280
Lines 3167 9873 +6706
Branches 966 3012 +2046
===========================================
+ Hits 1457 4791 +3334
- Misses 1377 4166 +2789
- Partials 333 916 +583
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/qovery preview 28c47145-c8e7-4b9d-8d9e-c65c95b48425 |
|
A preview environment was automatically created via Qovery. Another comment will be posted when deployments are finished |
|
Your preview environment has been successfully deployed ! |
Summary
object_kind=~"Node|NodeClaim"with color-coded reasons