You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by te...@apache.org on 2024/01/16 08:51:17 UTC

(pulsar) branch branch-3.0 updated: [improve][proxy] Fix comment about enableProxyStatsEndpoints (#21757)

This is an automated email from the ASF dual-hosted git repository.

technoboy pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 0400630e7de [improve][proxy] Fix comment about enableProxyStatsEndpoints (#21757)
0400630e7de is described below

commit 0400630e7dee2e3244e2f0192cbde2f1e5a47ac4
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Wed Dec 20 04:08:18 2023 +0200

    [improve][proxy] Fix comment about enableProxyStatsEndpoints (#21757)
---
 conf/proxy.conf                                                         | 2 +-
 .../main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/proxy.conf b/conf/proxy.conf
index 44d950824e3..5d9bd584ff7 100644
--- a/conf/proxy.conf
+++ b/conf/proxy.conf
@@ -369,7 +369,7 @@ zooKeeperCacheExpirySeconds=-1
 
 ### --- Metrics --- ###
 
-# Whether to enable the proxy's /metrics, /proxy-stats, and /status.html http endpoints
+# Whether to enable the proxy's /metrics and /proxy-stats http endpoints
 enableProxyStatsEndpoints=true
 # Whether the '/metrics' endpoint requires authentication. Defaults to true
 authenticateMetricsEndpoint=true
diff --git a/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java b/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java
index a4cb7926beb..7178a0ceda4 100644
--- a/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java
+++ b/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java
@@ -373,7 +373,7 @@ public class ProxyConfiguration implements PulsarConfiguration {
 
     @FieldContext(
         category = CATEGORY_HTTP,
-        doc = "Whether to enable the proxy's /metrics, /proxy-stats, and /status.html http endpoints"
+        doc = "Whether to enable the proxy's /metrics and /proxy-stats http endpoints"
     )
     private boolean enableProxyStatsEndpoints = true;