Skip to content

Commit

Permalink
[improve][proxy] Support disabling metrics endpoint (apache#21031)
Browse files Browse the repository at this point in the history
(cherry picked from commit d06cda6)
(cherry picked from commit c644849)
(cherry picked from commit 084347c)
  • Loading branch information
michaeljmarshall authored and nikhil-ctds committed Mar 11, 2024
1 parent ad46523 commit 1b8e0a9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,12 @@ public class ProxyConfiguration implements PulsarConfiguration {
)
private boolean enableProxyStatsEndpoints = true;

@FieldContext(
category = CATEGORY_HTTP,
doc = "Whether to enable the proxy's /metrics, /proxy-stats, and /status.html http endpoints"
)
private boolean enableProxyStatsEndpoints = true;

@FieldContext(
category = CATEGORY_AUTHENTICATION,
doc = "Whether the '/metrics' endpoint requires authentication. Defaults to true."
Expand Down

0 comments on commit 1b8e0a9

Please sign in to comment.