Either Intelligent Instrumentation or Deep Tracing are disabled, however one of selected sampling strategy requires them. Trace is discarded
search cancel

Either Intelligent Instrumentation or Deep Tracing are disabled, however one of selected sampling strategy requires them. Trace is discarded

book

Article ID: 273550

calendar_today

Updated On:

Products

CA Application Performance Management SaaS

Issue/Introduction

Our logs were getting filled with these entries:

[WARN] [IntroscopeAgent.TransactionSamplingStrategy] Either Intelligent Instrumentation or Deep Tracing are disabled. However, one of selected sampling strategy requires them. Trace is discarded

Adding this removed them:

log4j.additivity.IntroscopeAgent.TransactionSamplingStrategy=false
log4j.logger.IntroscopeAgent.TransactionSamplingStrategy=ERROR, logfile

After a recent release we began seeing these messages again but in a somewhat different format:

[WARN] [I.TransactionSamplingStrategy] Either Intelligent Instrumentation or Deep Tracing are disabled, however one of selected sampling strategy requires them. Trace is discarded

I tried following a similar patter and added this to the profile:

log4j.additivity.I.TransactionSamplingStrategy=false
log4j.logger.I.TransactionSamplingStrategy=ERROR, logfile

but it did not resolve the issue.

Environment

Release : SAAS

Resolution

Agent: Java

Agent Version: 2023.7.1.14

Please use the following since the agent switched from log4j to log for vulnerability.

introscope.agent.log.level.IntroscopeAgent.TransactionSamplingStrategy=ERROR