public final class TransactionTracerConfigImpl extends BaseConfig implements TransactionTracerConfig
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
APDEX_F |
static int |
APDEX_F_MULTIPLE |
static java.lang.String |
BACKGROUND_CATEGORY_NAME |
static java.lang.String |
CATEGORY |
static java.lang.String |
CATEGORY_BACKGROUND_SYSTEM_PROPERTY_ROOT |
static java.lang.String |
CATEGORY_NAME |
static java.lang.String |
CATEGORY_REQUEST_SYSTEM_PROPERTY_ROOT |
static java.lang.String |
COLLECT_SLOW_QUERIES_FROM |
static java.lang.String |
COLLECT_TRACES |
static boolean |
DEFAULT_COLLECT_TRACES |
static boolean |
DEFAULT_ENABLED |
static boolean |
DEFAULT_EXEC_CALL_SQL_REGEX_DISABLED |
static boolean |
DEFAULT_EXPLAIN_ENABLED |
static double |
DEFAULT_EXPLAIN_THRESHOLD |
static boolean |
DEFAULT_GC_TIME_ENABLED |
static int |
DEFAULT_INSERT_SQL_MAX_LENGTH |
static boolean |
DEFAULT_LOG_SQL |
static int |
DEFAULT_MAX_EXPLAIN_PLANS |
static int |
DEFAULT_MAX_STACK_TRACE |
static java.lang.String |
DEFAULT_RECORD_SQL |
static int |
DEFAULT_SEGMENT_LIMIT |
static double |
DEFAULT_STACK_TRACE_THRESHOLD |
static int |
DEFAULT_TOKEN_LIMIT |
static int |
DEFAULT_TOP_N |
static java.lang.String |
DEFAULT_TRANSACTION_THRESHOLD |
static java.lang.String |
ENABLED |
static java.lang.String |
EXEC_CALL_SQL_REGEX_DISABLED |
static java.lang.String |
EXPLAIN_ENABLED |
static java.lang.String |
EXPLAIN_THRESHOLD |
static java.lang.String |
GC_TIME_ENABLED |
protected java.lang.String |
inheritedFromSystemPropertyRoot |
static java.lang.String |
INSERT_SQL_MAX_LENGTH |
static java.lang.String |
LOG_SQL |
static java.lang.String |
MAX_EXPLAIN_PLANS |
static java.lang.String |
MAX_STACK_TRACE |
static java.lang.String |
OBFUSCATED_SQL_FIELDS |
static java.lang.String |
RECORD_SQL |
static java.lang.String |
REQUEST_CATEGORY_NAME |
static java.lang.String |
SEGMENT_LIMIT |
static java.lang.String |
SLOW_QUERY_WHITELIST
Deprecated.
|
static java.lang.String |
STACK_TRACE_THRESHOLD |
static java.lang.String |
SYSTEM_PROPERTY_ROOT |
static java.lang.String |
TOKEN_LIMIT |
static java.lang.String |
TOP_N |
static java.lang.String |
TRANSACTION_THRESHOLD |
addDeprecatedProperties, COMMA_SEPARATOR, deprecatedProperties, SEMI_COLON_SEPARATOR, systemPropertyPrefix| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<java.util.Map<java.lang.String,java.lang.Object>> |
getCategories() |
java.util.Set<java.lang.String> |
getCollectSlowQueriesFromModules()
The set of modules that are allowed to send up obfuscated slow query information when high_security
mode is enabled.
|
double |
getExplainThresholdInMillis()
The threshold for sending an explain plan for a SQL query to New Relic.
|
double |
getExplainThresholdInNanos() |
protected java.lang.String |
getInheritedSystemPropertyKey(java.lang.String key) |
int |
getInsertSqlMaxLength()
The limit on the length of a SQL statement sent to New Relic.
|
protected java.util.Set<java.util.Map<java.lang.String,java.lang.Object>> |
getMapSetFromCollection(java.util.Collection<?> values) |
int |
getMaxExplainPlans()
The limit on the number of explain plans per transaction.
|
int |
getMaxSegments()
The limit on the number of transaction trace segments per transaction.
|
int |
getMaxStackTraces()
The limit on the number of stack traces to store per transaction.
|
int |
getMaxTokens()
The limit on the number of tokens to be retrieved per transaction.
|
protected java.lang.Object |
getPropertyFromSystemEnvironment(java.lang.String name,
java.lang.Object defaultVal) |
protected java.lang.Object |
getPropertyFromSystemProperties(java.lang.String name,
java.lang.Object defaultVal) |
java.lang.String |
getRecordSql()
The form for sending SQL statements to New Relic.
|
double |
getStackTraceThresholdInMillis()
The threshold for sending a stack trace for a SQL query to New Relic.
|
double |
getStackTraceThresholdInNanos() |
int |
getTopN()
The number of unique traces to report before starting over.
|
long |
getTransactionThresholdInMillis()
The threshold for sending a transaction trace to New Relic.
|
long |
getTransactionThresholdInNanos()
The threshold for sending a transaction trace to New Relic.
|
protected java.util.Set<java.lang.String> |
initCollectSlowQueriesFrom(boolean highSecurity) |
protected java.lang.String |
initRecordSql(boolean highSecurity) |
boolean |
isEnabled() |
boolean |
isExecCallSqlRegexDisabled()
For large SQL statements, executing the regular expressions that attempt to parse exec and
call statements can take a significant amount of time.
|
boolean |
isExplainEnabled() |
boolean |
isGCTimeEnabled() |
boolean |
isLogSql()
If
true, send recorded SQL to the agent log file, but do not report it to New Relic. |
addDeprecatedProperty, castValue, clearDeprecatedProperties, getDoubleProperty, getIntegerSet, getIntProperty, getProperties, getProperty, getProperty, getStringPropertyOrNull, getSystemPropertyKey, getUniqueStrings, getUniqueStrings, getUniqueStringsFromCollection, getUniqueStringsFromCollection, getUniqueStringsFromString, nestedPropspublic static final java.lang.String BACKGROUND_CATEGORY_NAME
public static final java.lang.String REQUEST_CATEGORY_NAME
public static final java.lang.String APDEX_F
public static final java.lang.String CATEGORY
public static final java.lang.String CATEGORY_NAME
public static final java.lang.String COLLECT_TRACES
public static final java.lang.String ENABLED
public static final java.lang.String EXPLAIN_ENABLED
public static final java.lang.String EXPLAIN_THRESHOLD
public static final java.lang.String GC_TIME_ENABLED
public static final java.lang.String INSERT_SQL_MAX_LENGTH
public static final java.lang.String LOG_SQL
public static final java.lang.String MAX_EXPLAIN_PLANS
public static final java.lang.String MAX_STACK_TRACE
public static final java.lang.String OBFUSCATED_SQL_FIELDS
public static final java.lang.String RECORD_SQL
@Deprecated public static final java.lang.String SLOW_QUERY_WHITELIST
public static final java.lang.String COLLECT_SLOW_QUERIES_FROM
public static final java.lang.String SEGMENT_LIMIT
public static final java.lang.String STACK_TRACE_THRESHOLD
public static final java.lang.String TOKEN_LIMIT
public static final java.lang.String TOP_N
public static final java.lang.String TRANSACTION_THRESHOLD
public static final java.lang.String EXEC_CALL_SQL_REGEX_DISABLED
public static final boolean DEFAULT_COLLECT_TRACES
public static final boolean DEFAULT_ENABLED
public static final boolean DEFAULT_EXPLAIN_ENABLED
public static final double DEFAULT_EXPLAIN_THRESHOLD
public static final boolean DEFAULT_GC_TIME_ENABLED
public static final int DEFAULT_INSERT_SQL_MAX_LENGTH
public static final boolean DEFAULT_LOG_SQL
public static final int DEFAULT_MAX_EXPLAIN_PLANS
public static final int DEFAULT_MAX_STACK_TRACE
public static final java.lang.String DEFAULT_RECORD_SQL
public static final int DEFAULT_SEGMENT_LIMIT
public static final double DEFAULT_STACK_TRACE_THRESHOLD
public static final java.lang.String DEFAULT_TRANSACTION_THRESHOLD
public static final int DEFAULT_TOKEN_LIMIT
public static final int DEFAULT_TOP_N
public static final boolean DEFAULT_EXEC_CALL_SQL_REGEX_DISABLED
public static final int APDEX_F_MULTIPLE
public static final java.lang.String SYSTEM_PROPERTY_ROOT
public static final java.lang.String CATEGORY_REQUEST_SYSTEM_PROPERTY_ROOT
public static final java.lang.String CATEGORY_BACKGROUND_SYSTEM_PROPERTY_ROOT
protected final java.lang.String inheritedFromSystemPropertyRoot
protected java.lang.String initRecordSql(boolean highSecurity)
protected java.util.Set<java.lang.String> initCollectSlowQueriesFrom(boolean highSecurity)
protected java.util.Set<java.util.Map<java.lang.String,java.lang.Object>> getCategories()
protected java.util.Set<java.util.Map<java.lang.String,java.lang.Object>> getMapSetFromCollection(java.util.Collection<?> values)
protected java.lang.String getInheritedSystemPropertyKey(java.lang.String key)
protected java.lang.Object getPropertyFromSystemProperties(java.lang.String name,
java.lang.Object defaultVal)
getPropertyFromSystemProperties in class BaseConfigprotected java.lang.Object getPropertyFromSystemEnvironment(java.lang.String name,
java.lang.Object defaultVal)
getPropertyFromSystemEnvironment in class BaseConfigpublic boolean isExecCallSqlRegexDisabled()
TransactionTracerConfigisExecCallSqlRegexDisabled in interface TransactionTracerConfigpublic double getExplainThresholdInMillis()
TransactionTracerConfiggetExplainThresholdInMillis in interface TransactionTracerConfigpublic double getExplainThresholdInNanos()
getExplainThresholdInNanos in interface TransactionTracerConfigpublic java.lang.String getRecordSql()
TransactionTracerConfiggetRecordSql in interface TransactionTracerConfigpublic java.util.Set<java.lang.String> getCollectSlowQueriesFromModules()
TransactionTracerConfiggetCollectSlowQueriesFromModules in interface TransactionTracerConfigpublic double getStackTraceThresholdInMillis()
TransactionTracerConfiggetStackTraceThresholdInMillis in interface TransactionTracerConfigpublic double getStackTraceThresholdInNanos()
getStackTraceThresholdInNanos in interface TransactionTracerConfigpublic long getTransactionThresholdInMillis()
TransactionTracerConfiggetTransactionThresholdInMillis in interface TransactionTracerConfigpublic long getTransactionThresholdInNanos()
TransactionTracerConfiggetTransactionThresholdInNanos in interface TransactionTracerConfigpublic boolean isEnabled()
isEnabled in interface TransactionTracerConfigtrue if transaction traces are enabledpublic boolean isExplainEnabled()
isExplainEnabled in interface TransactionTracerConfigtrue if explain plans are enabledpublic int getMaxExplainPlans()
TransactionTracerConfiggetMaxExplainPlans in interface TransactionTracerConfigpublic int getTopN()
TransactionTracerConfiggetTopN in interface TransactionTracerConfigpublic boolean isLogSql()
TransactionTracerConfigtrue, send recorded SQL to the agent log file, but do not report it to New Relic.isLogSql in interface TransactionTracerConfigpublic boolean isGCTimeEnabled()
isGCTimeEnabled in interface TransactionTracerConfigtrue if GC time is enabledpublic int getInsertSqlMaxLength()
TransactionTracerConfiggetInsertSqlMaxLength in interface TransactionTracerConfigpublic int getMaxStackTraces()
TransactionTracerConfiggetMaxStackTraces in interface TransactionTracerConfigpublic int getMaxSegments()
TransactionTracerConfiggetMaxSegments in interface TransactionTracerConfigpublic int getMaxTokens()
TransactionTracerConfiggetMaxTokens in interface TransactionTracerConfig