From 6e12ea81e760e9efe6db9fd85b57f38faad41c11 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Wed, 20 Dec 2023 04:08:18 +0200 Subject: [PATCH] [improve][proxy] Fix comment about enableProxyStatsEndpoints (#21757) --- conf/proxy.conf | 2 +- .../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 1902247e551f4..56efcb1633d1b 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 b13d3e8b9e97a..94795b3894a00 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;