diff --git a/charts/newrelic-logging/Chart.yaml b/charts/newrelic-logging/Chart.yaml index ab809e33c..962410c8c 100644 --- a/charts/newrelic-logging/Chart.yaml +++ b/charts/newrelic-logging/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm chart to deploy New Relic Kubernetes Logging as a DaemonSet, supporting both Linux and Windows nodes and containers name: newrelic-logging -version: 1.22.4 +version: 1.23.0 appVersion: 2.0.0 home: https://github.com/newrelic/kubernetes-logging icon: https://newrelic.com/assets/newrelic/source/NewRelic-logo-square.svg diff --git a/charts/newrelic-logging/templates/_helpers.tpl b/charts/newrelic-logging/templates/_helpers.tpl index 439d25cae..a02ff74b2 100644 --- a/charts/newrelic-logging/templates/_helpers.tpl +++ b/charts/newrelic-logging/templates/_helpers.tpl @@ -184,6 +184,8 @@ Returns metricsHost {{- define "newrelic-logging.metricsHost" -}} {{- if (include "newrelic.nrStaging" .) -}} staging-metric-api.newrelic.com +{{- else if .Values.metricsEndpoint -}} +{{ .Values.metricsEndpoint -}} {{- else if eq (substr 0 2 (include "newrelic-logging.licenseKey" .)) "eu" -}} metric-api.eu.newrelic.com {{- else -}} diff --git a/charts/newrelic-logging/values.yaml b/charts/newrelic-logging/values.yaml index c5d85b43f..ca6336cb6 100644 --- a/charts/newrelic-logging/values.yaml +++ b/charts/newrelic-logging/values.yaml @@ -23,6 +23,7 @@ # whether your account is for the EU region or not. # # endpoint: https://log-api.newrelic.com/log/v1 +# metricsEndpoint: metric-api.newrelic.com fluentBit: logLevel: "info"