http

command
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2021 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Overview

This is an example web server to demonstrate how to instrument error and performance monitoring with Sentry.

Try it by running:

go run main.go

To actually report events to Sentry, set the DSN either by editing the appropriate line below or setting the environment variable SENTRY_DSN to match the DSN of your Sentry project.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL