Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequestID ¶
func GetTraceID ¶
func SamplerMiddleware ¶
func SamplerMiddleware(next echo.HandlerFunc) echo.HandlerFunc
Saves the echo context for use by TracesSampler
func SendErrorToSentry ¶
SendErrorToSentry returns true if the given error should be sent to Sentry
func TracesSampler ¶
func TracesSampler(sampleRate float64) sentry.TracesSampler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.