Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultScrapeLabel label use to define is the target // must be scrape by Prometheus DefaultScrapeLabel = "prometheus.io/scrape" // DefaultScrapePortLabel label use to define the port // of the metrics handler of the target DefaultScrapePortLabel = "prometheus.io/port" // DefaultScrapeHostLabel label use to define the host // of the target DefaultScrapeHostLabel = "prometheus.io/host" // DefaultScrapePathLabel label use to define the metrics // path of the target DefaultScrapePathLabel = "prometheus.io/path" // DefaultScrapeSchemeLabel label use to define the scheme // of the target DefaultScrapeSchemeLabel = "prometheus.io/scheme" )
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { Targets []Target `json:"targets"` Labels Label `json:"labels"` Source string `json:"-"` }
Group Object
Click to show internal directories.
Click to hide internal directories.