utils

package
v0.0.0-...-1e9b1b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *otelzap.Logger
View Source
var Tracer trace.Tracer

Functions

func InitializeLogger

func InitializeLogger(daemon bool)

func InitializeTracer

func InitializeTracer(ctx context.Context, tc TracerConfig) func()

Types

type TracerConfig

type TracerConfig struct {
	ServiceName string `envconfig:"SERVICE_NAME" default:"roofwaterd" desc:"Service name to use for tracing"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL