Skip to content

Commit 51fadb7

Browse files
committed
Add jdbc_statement_weak_key_caching to reference yml
1 parent 5d00397 commit 51fadb7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.fleetControl/schemaGeneration/reference-newrelic.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,11 @@ common: &default_settings
690690
# Default: 10
691691
gc_cpu_threshold: 10
692692

693+
# JDBC Statements are cached in a weak key map by default. Set enabled:false to use a vanilla ConcurrentHashMap instead.
694+
# Users who set enabled:false MUST call Statement.close() on every JDBC Statement.
695+
jdbc_statement_weak_key_caching:
696+
enabled: true
697+
693698
# Class transformer can be used to disable all agent instrumentation or specific instrumentation modules.
694699
# All instrumentation modules can be found here: https://github.com/newrelic/newrelic-java-agent/tree/main/instrumentation
695700
class_transformer:

0 commit comments

Comments
 (0)