Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Expvar ExpvarConfig Pprof PprofConfig }
Config is the configuration for the Debug plugin.
type ExpvarConfig ¶
type ExpvarConfig struct { // Method is the HTTP method to use for the metrics endpoint. // // Default: "GET" Method string // URL is the HTTP URL to scrape for expvar metrics. // // Default: "/debug/vars" URL string }
ExpvarConfig is the expvar configuration.
type PprofConfig ¶
type PprofConfig struct { // Method is the HTTP method to use for the metrics endpoint. // // Default: "GET" Method string // URL is the HTTP URL to scrape for pprof metrics. // // Default: "/debug/pprof/{profile:*}" URL string }
PprofConfig is the pprof configuration.
Click to show internal directories.
Click to hide internal directories.