package
Version:
v0.0.0-...-9a9fc0b
Opens a new window with list of versions in this module.
Published: Dec 21, 2023
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Enable enables prometheus.
Enabled returns if prometheus is enabled.
StartAgent starts a prometheus agent.
type Config struct {
Host string `json:",optional"`
Port int `json:",default=9101"`
Path string `json:",default=/metrics"`
}
A Config is a prometheus config.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.