mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat: enhance handling of camelCase and snake_case in Kubernetes object parsing and telemetry
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user