Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/client_golang
/ httpAPI
Struct
httpAPI
api/prometheus/v1/api.go:877–879 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
875
}
876
877
type
httpAPI
struct
{
878
client apiClient
879
}
880
881
func
(h *httpAPI) Alerts(ctx context.Context) (AlertsResult, error) {
882
u := h.client.URL(epAlerts, nil)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected