Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Enabled bool `yaml:"enabled" json:"enabled"`
EndpointPath string `yaml:"endpoint_path" json:"endpoint_path"`
ExcludedRoutes []string `yaml:"excluded_routes" json:"excluded_routes"`
CollectProcessMetrics bool `yaml:"collect_process_metrics" json:"collect_process_metrics"`
}
func DefaultConfig ¶
func DefaultConfig() Config
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func (*Metrics) RegisterEndpoint ¶
func (*Metrics) SetAppInfo ¶
Click to show internal directories.
Click to hide internal directories.