TracesManagerBuilderinterface
Builder class used to set up Traces module.
7 Methods
withContextManager()⚓︎
(contextManager: ContextManager) => this
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| contextManager⚓︎ | ContextManager | x |
withMetrics()⚓︎
(metrics: MetricsManager) => this
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| metrics⚓︎ | MetricsManager | x |
withPropagationInfoStorage()⚓︎
(store: (source: string, pi: PropagationInfo) => Promise<void>, read: (source: string) => Promise<PropagationInfo | null>) => this
Parameters (2)
| Name | Type | Required | Description |
|---|---|---|---|
| store⚓︎ | (source: string, pi: PropagationInfo) => Promise<void> | x | |
| read⚓︎ | (source: string) => Promise<PropagationInfo | null> | x |
withSettings()⚓︎
(settings: TracesSettings) => this
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| settings⚓︎ | TracesSettings | x |