Skip to content

Commit

Permalink
Add beyla deployment and metrics to the self-report
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
petewall committed Oct 29, 2024
1 parent 0b3ce8e commit 1165457
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/k8s-monitoring-v1/docs/examples/beyla/output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ data:
k8s-monitoring-build-info-metric.prom: |
# HELP grafana_kubernetes_monitoring_build_info A metric to report the version of the Kubernetes Monitoring Helm chart as well as a summary of enabled features
# TYPE grafana_kubernetes_monitoring_build_info gauge
grafana_kubernetes_monitoring_build_info{version="1.6.1", namespace="default", metrics="enabled,alloy,autoDiscover,kube-state-metrics,node-exporter,kubelet,kubeletResource,cadvisor,cost", logs="enabled,events,pod_logs", traces="enabled", deployments="kube-state-metrics,prometheus-node-exporter,prometheus-operator-crds,opencost"} 1
grafana_kubernetes_monitoring_build_info{version="1.6.1", namespace="default", metrics="enabled,alloy,autoDiscover,kube-state-metrics,node-exporter,kubelet,kubeletResource,cadvisor,cost,beyla", logs="enabled,events,pod_logs", traces="enabled", deployments="kube-state-metrics,prometheus-node-exporter,prometheus-operator-crds,opencost,beyla"} 1
---
# Source: k8s-monitoring/templates/alloy-events-config.yaml
apiVersion: v1
Expand Down
2 changes: 2 additions & 0 deletions charts/k8s-monitoring-v1/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
{{- if .Values.metrics.apiserver.enabled -}}{{- $metrics = append $metrics "apiserver" }}{{ end -}}
{{- if .Values.metrics.cost.enabled -}}{{- $metrics = append $metrics "cost" }}{{ end -}}
{{- if .Values.metrics.kepler.enabled -}}{{- $metrics = append $metrics "kepler" }}{{ end -}}
{{- if .Values.metrics.beyla.enabled -}}{{- $metrics = append $metrics "beyla" }}{{ end -}}
{{- if .Values.extraConfig -}}{{- $metrics = append $metrics "extraConfig" }}{{ end -}}
{{- else -}}
{{- $metrics = append $metrics "disabled" -}}
Expand Down Expand Up @@ -65,6 +66,7 @@
{{- if index (index .Values "prometheus-operator-crds").enabled -}}{{- $deployments = append $deployments "prometheus-operator-crds" -}}{{- end -}}
{{- if index .Values.opencost.enabled -}}{{- $deployments = append $deployments "opencost" -}}{{- end -}}
{{- if index .Values.kepler.enabled -}}{{- $deployments = append $deployments "kepler" -}}{{- end -}}
{{- if index .Values.beyla.enabled -}}{{- $deployments = append $deployments "beyla" -}}{{- end -}}
{{- join "," $deployments -}}
{{- end }}

Expand Down

0 comments on commit 1165457

Please sign in to comment.