ActivityTracerType
PackageAxial.Telemetry
Captures an application-owned
ActivitySource so application code can trace its own workflows without
repeating the source at every call site. The only way to obtain a value of this type is
ActivityTracer.create, so there is no code path that traces without an assigned application source.
Specification
Kind
Type
Members
3
Examples
0
TraceSignature
this.Trace
TraceWithSignature
this.TraceWith
SourceSignature
this.Source
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Trace | this.Trace | Wraps a flow in a span from this tracer's activity source, rendering typed errors with string. |
| TraceWith | this.TraceWith | Wraps a flow in a span from this tracer's activity source, using the supplied typed-error renderer. |
| Source | this.Source | The application-owned activity source this tracer emits from. |
Wraps a flow in a span from this tracer's activity source, rendering typed errors with
string.Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The name of the activity. |
Returns
Flow<'env, 'error, 'value> -> Flow<'env, 'error, 'value>
Wraps a flow in a span from this tracer's activity source, using the supplied typed-error renderer.
Parameters
| Name | Type | Description |
|---|---|---|
| renderError | 'error -> string | Renders typed errors for the axial.flow.error attribute. |
| name | string | The name of the activity. |
Returns
Flow<'env, 'error, 'value> -> Flow<'env, 'error, 'value>

