diff --git a/charts/nr-k8s-otel-collector/Chart.yaml b/charts/nr-k8s-otel-collector/Chart.yaml index 3029d1386..54bf6eba6 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.2.0 +version: 0.2.1 dependencies: - name: common-library diff --git a/charts/nr-k8s-otel-collector/templates/_endpoint.tpl b/charts/nr-k8s-otel-collector/templates/_endpoint.tpl index 1de901e6e..7ef84e586 100644 --- a/charts/nr-k8s-otel-collector/templates/_endpoint.tpl +++ b/charts/nr-k8s-otel-collector/templates/_endpoint.tpl @@ -5,6 +5,10 @@ A helper to return the NR endpoint to send data to {{- if include "newrelic.common.nrStaging" . -}} "https://staging-otlp.nr-data.net" {{- else -}} - "https://otlp.nr-data.net" + {{- if hasPrefix "eu" (include "newrelic.common.license._licenseKey" . ) -}} + "https://otlp.eu01.nr-data.net" + {{- else -}} + "https://otlp.nr-data.net" + {{- end -}} {{- end -}} {{- end -}} \ No newline at end of file