Function getDynamicSamplingContextFromClient
- getDynamicSamplingContextFromClient(trace_id, client, scope?): DynamicSamplingContext
-
Parameters
-
trace_id: string
-
client: Client<ClientOptions<BaseTransportOptions>>
-
Optional
scope: Scope
Returns DynamicSamplingContext
Creates a dynamic sampling context from a client.
Dispatchs the
createDsc
lifecycle hook as a side effect.