Skip to content

v2.0.3 — Whitelist-first filter, Illumina noise reduction

Pre-release
Pre-release

Choose a tag to compare

@gsidhwani-nr gsidhwani-nr released this 12 Aug 10:54
· 1 commit to main since this release
b0a0bf2

What's New

Performance Fix — Filter Order Corrected

BeanInstance_Instrumentation.invoke() and WeldCoreUtils.addMethod() now evaluate the whitelist first. Non-whitelisted CDI methods (the vast majority) exit after a single regex check with no blacklist overhead. Previous versions ran the blacklist (3 regex patterns) unconditionally on every call.

Measured improvement against Illumina case 00347902 call profile:

  • 54.9% faster filter CPU
  • 74% fewer tracer objects created per list request (891 → 232 spans)
  • 55.9% fewer regex evaluations per API call

New Config Pattern for Illumina (Case 00347902)

Single negative lookahead pattern targeting application proxy calls while excluding security.internal.security.* infrastructure noise (fires 500+ times per list request):

weld:
  ignore_traces_enabled: true
  ignored_trace_patterns:
    - "javax.validation.executable.ExecutableValidator:*"
    - "org.hibernate.validator.metadata.BeanMetaDataClassNormalizer:*"
    - "com.illumina.ica.cp.shared.internal.system.metrics.interceptor.MetricsMethodInterceptor:*"
  filtering_enabled: true
  proxycall:
    track_regex_patterns:
      - "com\\.illumina\\.ica\\.cp\\.(?!supportive\\.security\\.internal\\.security\\.).*:.*"
  beaninstance:
    track_regex_patterns:
      - "com\\.illumina\\.ica\\.cp\\.(?!supportive\\.security\\.internal\\.security\\.).*:.*"

Installation

  1. Download all three jars from this release.
  2. Copy to your New Relic agent extensions/ directory (replace any existing weld jars).
  3. Apply the config block above to newrelic.yml.
  4. Restart the application — config hot-reloads within ~60 seconds without restart after that.

Test Results

  • Unit tests: 11/11 PASS (weld-core-3.0 and weld-core-4.0)
  • New Test 11 validates the negative lookahead pattern against real Illumina class names