This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 181b20bf59f [improve][proxy] Fix comment about
enableProxyStatsEndpoints (#21757)
181b20bf59f is described below
commit 181b20bf59fdf51734c375b6563c8f1020a71881
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 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;