Runtime

Lenses runs as a JVM app and you can tune runtime configurations via environment variables.

KeyDescription
LENSES_OPTSFor generic settings, Kerberos configuration (e.g SASL/GSSAPI auth to the Brokers). Note that the docker images is using this to plug in a prometheus java agent for monitoring Lenses
LENSES_HEAP_OPTSJVM heap options. Default setting are -Xmx3g -Xms512m that sets the heap size between 512MB and 3GB. The upper limit is set to 1.2GB on the Box development docker image.
LENSES_JMX_OPTSTune the JMX options for the JVM i.e. to allowing remote access.
LENSES_LOG4J_OPTSConfigure logging level. Lenses uses the Logback library.
LENSES_PERFORMANCE_OPTSJVM performance tuning. The default settings are -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+DisableExplicitGC -Djava.awt.headless=true