This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.10 by this push:
new 2c0803bd6d6 [improve][proxy] Fix comment about
enableProxyStatsEndpoints (#21757)
2c0803bd6d6 is described below
commit 2c0803bd6d63f43a86477a176484ba01dfd2829a
Author: Lari Hotari <[email protected]>
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 1902247e551..56efcb1633d 100644
--- a/conf/proxy.conf
+++ b/conf/proxy.conf
@@ -338,5 +338,5 @@ 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
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 b13d3e8b9e9..94795b3894a 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
@@ -344,7 +344,7 @@ public class ProxyConfiguration implements
PulsarConfiguration {
private boolean forwardAuthorizationCredentials = false;
@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;