Documentation ¶
Overview ¶
Package opentelemetry provides a set of utilities for assisting with telemetry data
Package opentelemetry provides a set of utilities for assisting with telemetry data
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(ctx context.Context, spanExporter sdktrace.SpanExporter, metricExporter *otlpmetric.Exporter, service string) io.Closer
Init - creates opentelemetry tracer and meter providers
func InitMetricExporter ¶
func InitMetricExporter(ctx context.Context, exporterURL string) *otlpmetric.Exporter
InitMetricExporter - returns an instance of OpenTelemetry Metric Exporter.
func InitSpanExporter ¶
func InitSpanExporter(ctx context.Context, exporterURL string) trace.SpanExporter
InitSpanExporter - returns an instance of OpenTelemetry Span Exporter.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.