Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNamedProcess ¶
func NewNamedProcess(children bool, mn common.MatchNamer) (prometheus.Collector, error)
NewNamedProcess returns a new prometheus collector for the nginx process
Types ¶
type BinaryNameMatcher ¶
BinaryNameMatcher ...
func (BinaryNameMatcher) MatchAndName ¶
func (em BinaryNameMatcher) MatchAndName(nacl common.NameAndCmdline) (bool, string)
MatchAndName returns false if the match failed, otherwise true and the resulting name.
type BoolToFloat64 ¶
type BoolToFloat64 float64
BoolToFloat64 ...
func (BoolToFloat64) UnmarshalJSON ¶
func (bit BoolToFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON ...
type Stopable ¶
type Stopable interface { prometheus.Collector Stop() }
Stopable defines a prometheus collector that can be stopped
func NewNGINXVTSCollector ¶
NewNGINXVTSCollector returns a new prometheus collector for the VTS module
Click to show internal directories.
Click to hide internal directories.