Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigDefault = 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()) }, OperationName: func(ctx *fiber.Ctx) string { return "HTTP " + ctx.Method() + " URL: " + ctx.Path() }, }
ConfigDefault is the default config
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.