public abstract class CoreTracingConfig extends BaseConfig
distributed_tracing: sampler: root: ... full_granularity: enabled: partial_granularity: enabled: type: root: ...
Stanza-specific configuration options are provided in the subclasses.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BASE |
static java.lang.String |
ENABLED |
static java.lang.String |
FULL_GRANULARITY |
static java.lang.String |
PARTIAL_GRANULARITY |
static java.lang.String |
REMOTE_PARENT_NOT_SAMPLED |
static java.lang.String |
REMOTE_PARENT_SAMPLED |
static java.lang.String |
ROOT |
addDeprecatedProperties, COMMA_SEPARATOR, deprecatedProperties, SEMI_COLON_SEPARATOR, systemPropertyPrefix| Modifier | Constructor and Description |
|---|---|
protected |
CoreTracingConfig(java.util.Map<java.lang.String,java.lang.Object> props,
java.lang.String completeSystemPropertyPrefix,
boolean defaultEnabled) |
| Modifier and Type | Method and Description |
|---|---|
SamplerConfig |
createSamplerConfig(java.lang.String samplerCase) |
SamplerConfig |
getRemoteParentNotSampledSampler() |
SamplerConfig |
getRemoteParentSampledSampler() |
SamplerConfig |
getRootSampler() |
SamplerConfig |
getSamplerConfigForCase(java.lang.String samplerCase) |
boolean |
isEnabled() |
addDeprecatedProperty, castValue, clearDeprecatedProperties, getDoubleProperty, getIntegerSet, getIntProperty, getProperties, getProperty, getProperty, getPropertyFromSystemEnvironment, getPropertyFromSystemProperties, getStringPropertyOrNull, getSystemPropertyKey, getUniqueStrings, getUniqueStrings, getUniqueStringsFromCollection, getUniqueStringsFromCollection, getUniqueStringsFromString, nestedPropspublic static final java.lang.String BASE
public static final java.lang.String FULL_GRANULARITY
public static final java.lang.String PARTIAL_GRANULARITY
public static final java.lang.String ENABLED
public static final java.lang.String ROOT
public static final java.lang.String REMOTE_PARENT_SAMPLED
public static final java.lang.String REMOTE_PARENT_NOT_SAMPLED
protected CoreTracingConfig(java.util.Map<java.lang.String,java.lang.Object> props,
java.lang.String completeSystemPropertyPrefix,
boolean defaultEnabled)
public boolean isEnabled()
public SamplerConfig getRootSampler()
public SamplerConfig getRemoteParentSampledSampler()
public SamplerConfig getRemoteParentNotSampledSampler()
public SamplerConfig getSamplerConfigForCase(java.lang.String samplerCase)
public SamplerConfig createSamplerConfig(java.lang.String samplerCase)