Categorygithub.com/middleware-labs/golang-apm-go-chi
modulepackage
0.0.6
Repository: https://github.com/middleware-labs/golang-apm-go-chi.git
Documentation: pkg.go.dev

# README

github.com/middleware-labs/golang-apm-go-chi

Install

$ go get github.com/middleware-labs/golang-apm-go-chi

# Functions

Middleware sets up a handler to start tracing the incoming requests.
WithChiRoutes specified the routes that being used by application.
WithFilter is used for filtering request that should not be traced.
WithPropagators specifies propagators to use for extracting information from the HTTP requests.
WithRequestMethodInSpanName is used for adding http request method to span name.
WithTracerProvider specifies a tracer provider to use for creating a tracer.

# Interfaces

Option specifies instrumentation configuration options.