Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Tracer: opentracing.NoopTracer{}, Modify: func(ctx *fiber.Ctx, span opentracing.Span) { span.SetTag("http.method", ctx.Method()) span.SetTag("http.remote_address", ctx.IP()) span.SetTag("http.path", ctx.Path()) span.SetTag("http.host", ctx.Hostname()) span.SetTag("http.url", ctx.OriginalURL()) }, TransactionName: func(ctx *fiber.Ctx) string { return fmt.Sprintf(`HTTP %s URL: %s`, ctx.Method(), ctx.Path()) }, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.