Documentation ¶
Overview ¶
Package diagnostics provides functions for enabling diagnostics on the application. Primarily this is for serving pprof endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Flags = flag.Flags{ &flag.Boolean{ Name: "diagnostics", Usage: "Enables pprof endpoints at /pprof/* for diagnostics", EnvVar: "ENABLE_DIAGNOSTICS", Destination: &enableDiagnostics, Hidden: true, }, }
Flags contains all command-line flags that can be used to configure diagnostics.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.