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/03 13:51:44 UTC

(pulsar) branch branch-3.1 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.1
in repository https://gitbox.apache.org/repos/asf/pulsar.git


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

commit fea34d9d41b722cb72fec90513426ba64cc43164
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 c41c54670ee..4194bf76219 100644
--- a/conf/proxy.conf
+++ b/conf/proxy.conf
@@ -370,7 +370,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;