From 1657c5f8baa6ededfb9453bc28e459fad374c993 Mon Sep 17 00:00:00 2001 From: Nicolas Lamirault Date: Thu, 1 Feb 2024 15:02:54 +0100 Subject: [PATCH] Add: support accstatz metrics Signed-off-by: Nicolas Lamirault --- charts/prometheus-nats-exporter/templates/deployment.yaml | 3 +++ charts/prometheus-nats-exporter/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/charts/prometheus-nats-exporter/templates/deployment.yaml b/charts/prometheus-nats-exporter/templates/deployment.yaml index 95c3b2f079e8..83822a53091c 100644 --- a/charts/prometheus-nats-exporter/templates/deployment.yaml +++ b/charts/prometheus-nats-exporter/templates/deployment.yaml @@ -31,6 +31,9 @@ spec: {{- if .Values.config.metrics.varz }} - "-varz" {{- end }} + {{- if .Values.config.metrics.accstatz }} + - "-accstatz" + {{- end }} {{- if .Values.config.metrics.channelz }} - "-channelz" {{- end }} diff --git a/charts/prometheus-nats-exporter/values.yaml b/charts/prometheus-nats-exporter/values.yaml index c6a466806ded..202b66473172 100644 --- a/charts/prometheus-nats-exporter/values.yaml +++ b/charts/prometheus-nats-exporter/values.yaml @@ -43,6 +43,7 @@ config: namespace: default port: 8222 metrics: + accstatz: true channelz: true connz: true connz_detailed: true