You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/02/01 19:39:35 UTC

[GitHub] [pulsar-helm-chart] nealf commented on issue #78: Metrics from pulsar proxy are not scraped because /metrics when authentication is enabled

nealf commented on issue #78:
URL: https://github.com/apache/pulsar-helm-chart/issues/78#issuecomment-1027216277


   For temporary reference, this can can be done by adding `PULSAR_PREFIX_authenticateMetricsEndpoint: "false"` to the `proxy.configData` value. To keep the default config, including what's in the `values.yaml` file (as of helm chart version 2.7.10), I ended up with:
   
   ```yaml
   proxy:
       configData:
           PULSAR_MEM: >
             -Xms64m -Xmx64m -XX:MaxDirectMemorySize=64m
           PULSAR_GC: >
             -XX:+UseG1GC
             -XX:MaxGCPauseMillis=10
             -Dio.netty.leakDetectionLevel=disabled
             -Dio.netty.recycler.linkCapacity=1024
             -XX:+ParallelRefProcEnabled
             -XX:+UnlockExperimentalVMOptions
             -XX:+AggressiveOpts
             -XX:+DoEscapeAnalysis
             -XX:ParallelGCThreads=4
             -XX:ConcGCThreads=4
             -XX:G1NewSizePercent=50
             -XX:+DisableExplicitGC
             -XX:-ResizePLAB
             -XX:+ExitOnOutOfMemoryError
             -XX:+PerfDisableSharedMem
           PULSAR_PREFIX_authenticateMetricsEndpoint: "false"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org