Slackbot
Pranay
Enrico
func initOtel() (func(), error) { exp, err := otlptrace.New( context.Background(), otlptracegrpc.NewClient( otlptracegrpc.WithInsecure(), otlptracegrpc.WithEndpoint("localhost:4317"), ), ) if err != nil { return nil, err } r, err := resource.New( context.Background(), resource.WithAttributes( attribute.String("service.name", "mtgprint-backend"), attribute.String("library.language", "go"), ), ) if err != nil { return nil, err } tp := trace.NewTracerProvider( trace.WithSampler(trace.AlwaysSample()), trace.WithBatcher(exp), trace.WithResource(r), ) otel.SetTracerProvider(tp) return func() { if err := tp.Shutdown(context.Background()); err != nil { panic(err) } }, nil }
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.