diff --git a/charts/nr-k8s-otel-collector/Chart.yaml b/charts/nr-k8s-otel-collector/Chart.yaml index 8bd1eca26..492d96251 100644 --- a/charts/nr-k8s-otel-collector/Chart.yaml +++ b/charts/nr-k8s-otel-collector/Chart.yaml @@ -17,7 +17,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.5.1 +version: 0.5.2 dependencies: - name: common-library diff --git a/charts/nr-k8s-otel-collector/templates/deployment-configmap.yaml b/charts/nr-k8s-otel-collector/templates/deployment-configmap.yaml index 3e102a4cd..abf03a48b 100644 --- a/charts/nr-k8s-otel-collector/templates/deployment-configmap.yaml +++ b/charts/nr-k8s-otel-collector/templates/deployment-configmap.yaml @@ -450,6 +450,7 @@ data: level: "debug" {{- end }} pipelines: + {{- if .Values.receivers.prometheus.enabled }} metrics/ksm: receivers: - prometheus/ksm @@ -465,6 +466,7 @@ data: - transform/ksm exporters: - otlphttp/newrelic + {{- end }} {{- if or .Values.receivers.prometheus.enabled .Values.receivers.k8sCluster.enabled }} metrics: receivers: