I see multiple messages of Gauges coming in my JanusGraph logs, so want to check uses of these and how can I stop those.
> 11/28/23, 5:38:11 AM
===========================================================
org.apache.tinkerpop.gremlin.server.GremlinServer.gremlin-groovy.sessionless.class-cache.average-load-penalty
value = 8.184896446666666E8
org.apache.tinkerpop.gremlin.server.GremlinServer.gremlin-groovy.sessionless.class-cache.estimated-size
value = 3
org.apache.tinkerpop.gremlin.server.GremlinServer.gremlin-groovy.sessionless.class-cache.eviction-count
value = 0
org.apache.tinkerpop.gremlin.server.GremlinServer.gremlin-groovy.sessionless.class-cache.eviction-weight
value = 0
org.apache.tierpop.gremlin.server.GremlinServer.gremlin-groovy.sessionless.class-cache.hit-count
value = 0
org.apache.tinkerpop.gremlin.server.GremlinServer.gremlin-groovy.sessionless.class-cache.hit-rate
value = 0.0
org.apache.tinkerpop.gremlin.server.GremlinServer.gremlin-groovy.sessionless.class-cache.load-count
value = 3
Want to check, how it can be achieved.
You can control all of the metrics reporting options in the server yaml file under
metrics
. Essentially:In the example above I just set
enabled
tofalse
for all of them, but you could obviously be more selective in how you choose to do that.