Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Enabled: false, EnabledExpensive: false, HTTP: "127.0.0.1", Port: 6060, }
DefaultConfig is the default config for metrics used in go-ethereum.
View Source
var Enabled = false
Enabled is checked by the constructor functions for all of the standard metrics. If it is true, the metric returned is a stub.
This global kill-switch helps quantify the observer effect and makes for less cluttered pprof profiles.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.