mirror of https://github.com/prometheus/prometheus
Fix comments to match convention
parent
c6b329c55b
commit
4b0270290b
|
@ -369,7 +369,7 @@ func (api *API) dropSeries(r *http.Request) (interface{}, *apiError) {
|
||||||
return res, nil
|
return res, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Target has the information for 1 target.
|
// Target has the information for one target.
|
||||||
type Target struct {
|
type Target struct {
|
||||||
// Labels before any processing.
|
// Labels before any processing.
|
||||||
DiscoveredLabels model.LabelSet `json:"discoveredLabels"`
|
DiscoveredLabels model.LabelSet `json:"discoveredLabels"`
|
||||||
|
@ -412,12 +412,12 @@ func (api *API) targets(r *http.Request) (interface{}, *apiError) {
|
||||||
return res, nil
|
return res, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// AlertmanagerDiscovery has all the active alert-managers
|
// AlertmanagerDiscovery has all the active Alertmanagers.
|
||||||
type AlertmanagerDiscovery struct {
|
type AlertmanagerDiscovery struct {
|
||||||
ActiveAlertmanagers []*AlertmanagerTarget `json:"activeAlertmanagers"`
|
ActiveAlertmanagers []*AlertmanagerTarget `json:"activeAlertmanagers"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// AlertmanagerTarget has info on 1 AM
|
// AlertmanagerTarget has info on one AM.
|
||||||
type AlertmanagerTarget struct {
|
type AlertmanagerTarget struct {
|
||||||
URL string `json:"url"`
|
URL string `json:"url"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue