From 7c1de15b08ee59cbcb83c4786ca0f4aedc83a10e Mon Sep 17 00:00:00 2001 From: mattisonchao Date: Fri, 8 May 2026 21:47:48 +0800 Subject: [PATCH] fix: remove default BookKeeper stats provider --- charts/sn-platform-slim/templates/bookkeeper/_bookkeeper.tpl | 2 -- .../templates/bookkeeper/bookkeeper-cluster.yaml | 2 -- charts/sn-platform/templates/bookkeeper/_bookkeeper.tpl | 2 -- charts/sn-platform/templates/bookkeeper/bookkeeper-cluster.yaml | 2 -- 4 files changed, 8 deletions(-) diff --git a/charts/sn-platform-slim/templates/bookkeeper/_bookkeeper.tpl b/charts/sn-platform-slim/templates/bookkeeper/_bookkeeper.tpl index 9b1fadb1b..99c92204d 100644 --- a/charts/sn-platform-slim/templates/bookkeeper/_bookkeeper.tpl +++ b/charts/sn-platform-slim/templates/bookkeeper/_bookkeeper.tpl @@ -139,8 +139,6 @@ zkLedgersRootPath: "{{ .Values.metadataPrefix }}/ledgers" # enable bookkeeper http server httpServerEnabled: "true" httpServerPort: "{{ .Values.bookkeeper.ports.http }}" -# config the stats provider -statsProviderClass: org.apache.bookkeeper.stats.prometheus.PrometheusMetricsProvider # use hostname as the bookie id useHostNameAsBookieID: "true" {{- end }} diff --git a/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml b/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml index ec8d6bc82..ddfe17de7 100644 --- a/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml +++ b/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml @@ -203,8 +203,6 @@ spec: # enable bookkeeper http server httpServerEnabled: "true" httpServerPort: "{{ .Values.bookkeeper.ports.http }}" - # config the stats provider - statsProviderClass: org.apache.bookkeeper.stats.prometheus.PrometheusMetricsProvider # use hostname as the bookie id useHostNameAsBookieID: "true" {{- if .Values.components.autorecovery }} diff --git a/charts/sn-platform/templates/bookkeeper/_bookkeeper.tpl b/charts/sn-platform/templates/bookkeeper/_bookkeeper.tpl index c3fc2483e..21d8ca697 100644 --- a/charts/sn-platform/templates/bookkeeper/_bookkeeper.tpl +++ b/charts/sn-platform/templates/bookkeeper/_bookkeeper.tpl @@ -139,8 +139,6 @@ zkLedgersRootPath: "{{ .Values.metadataPrefix }}/ledgers" # enable bookkeeper http server httpServerEnabled: "true" httpServerPort: "{{ .Values.bookkeeper.ports.http }}" -# config the stats provider -statsProviderClass: org.apache.bookkeeper.stats.prometheus.PrometheusMetricsProvider # use hostname as the bookie id useHostNameAsBookieID: "true" {{- end }} diff --git a/charts/sn-platform/templates/bookkeeper/bookkeeper-cluster.yaml b/charts/sn-platform/templates/bookkeeper/bookkeeper-cluster.yaml index da43b139c..1241b08ce 100644 --- a/charts/sn-platform/templates/bookkeeper/bookkeeper-cluster.yaml +++ b/charts/sn-platform/templates/bookkeeper/bookkeeper-cluster.yaml @@ -192,8 +192,6 @@ spec: # enable bookkeeper http server httpServerEnabled: "true" httpServerPort: "{{ .Values.bookkeeper.ports.http }}" - # config the stats provider - statsProviderClass: org.apache.bookkeeper.stats.prometheus.PrometheusMetricsProvider # use hostname as the bookie id useHostNameAsBookieID: "true" {{- if .Values.components.autorecovery }}