Class TraceConfigImpl
java.lang.Object
io.opencensus.trace.config.TraceConfig
io.opencensus.implcore.trace.config.TraceConfigImpl
Global configuration of the trace service. This allows users to change configs for the default
sampler, maximum events to be kept, etc.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the activeTraceParams.voidupdateActiveTraceParams(TraceParams traceParams) Updates the activeTraceParams.Methods inherited from class TraceConfig
getNoopTraceConfig
-
Field Details
-
activeTraceParams
-
-
Constructor Details
-
TraceConfigImpl
public TraceConfigImpl()Constructs a newTraceConfigImpl.
-
-
Method Details
-
getActiveTraceParams
Description copied from class:TraceConfigReturns the activeTraceParams.- Specified by:
getActiveTraceParamsin classTraceConfig- Returns:
- the active
TraceParams.
-
updateActiveTraceParams
Description copied from class:TraceConfigUpdates the activeTraceParams.- Specified by:
updateActiveTraceParamsin classTraceConfig- Parameters:
traceParams- the new activeTraceParams.
-