Documentation ¶
Index ¶
- func AddEvent(ctx context.Context, name string, attrs ...attribute.KeyValue)
- func InitTelemetry(ctx context.Context, serviceName string) (func(), error)
- func SetError(ctx context.Context, err error)
- func StartSpan(ctx context.Context, name string, attrs ...attribute.KeyValue) (context.Context, trace.Span)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTelemetry ¶
InitTelemetry initializes OpenTelemetry with OTLP exporter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.