feat: enhance handling of camelCase and snake_case in Kubernetes object parsing and telemetry

This commit is contained in:
Nawaz Dhandala
2026-03-24 20:11:42 +00:00
parent e12e3cfc08
commit c470d66725
9 changed files with 233 additions and 48 deletions

View File

@@ -73,11 +73,13 @@ data:
mode: pull
interval: {{ .Values.resourceSpecs.interval }}
group: autoscaling
{{- if .Values.resourceSpecs.vpa }}
- name: verticalpodautoscalers
mode: pull
interval: {{ .Values.resourceSpecs.interval }}
group: autoscaling.k8s.io
{{- end }}
{{- end }}
{{- if or .Values.controlPlane.enabled .Values.serviceMesh.enabled }}
# Scrape metrics via Prometheus endpoints (control plane and/or service mesh)

View File

@@ -195,6 +195,10 @@
"interval": {
"type": "string",
"description": "How often to pull resource specs (e.g., 300s, 5m)"
},
"vpa": {
"type": "boolean",
"description": "Enable VPA collection (requires VPA CRDs installed in the cluster)"
}
},
"additionalProperties": false

View File

@@ -76,6 +76,7 @@ logs:
resourceSpecs:
enabled: true
interval: 300s # How often to pull full resource specs (default: 5 minutes)
vpa: false # Enable VPA collection (requires VPA CRDs installed in the cluster)
# Collection intervals
collectionInterval: 30s