Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupLogger ¶
SetupLogger initializes a new Zap Logger with the parameters specified by the given ServerConfig.
func SetupMetrics ¶
func SetupMetrics(cfg config.Config, metrics conf.Metrics) (metric.MeterProvider, metric_sdk.Exporter, error)
func SetupTracing ¶
func SetupTracing(cfg config.Config, tracing conf.Tracing) (trace.TracerProvider, trace_sdk.SpanExporter, error)
Types ¶
type Telemetry ¶
type Telemetry struct { Logger *zap.Logger TracerProvider trace.TracerProvider TraceExporter trace_sdk.SpanExporter MeterProvider metric.MeterProvider MeterExporter metric_sdk.Exporter Propagator propagation.TextMapPropagator }
Click to show internal directories.
Click to hide internal directories.