MCPcopy
hub / github.com/openfaas/faas / PrometheusQueryFetcher

Interface PrometheusQueryFetcher

gateway/metrics/prometheus_query.go:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18type PrometheusQueryFetcher interface {
19 Fetch(query string) (*VectorQueryResponse, error)
20}
21
22// NewPrometheusQuery create a NewPrometheusQuery
23func NewPrometheusQuery(host string, port int, client *http.Client, userAgentVersion string) PrometheusQuery {

Callers 1

AddMetricsHandlerFunction · 0.65

Implementers 2

PrometheusQuerygateway/metrics/prometheus_query.go
FakePrometheusQueryFetchergateway/metrics/add_metrics_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…