MCPcopy
hub / github.com/prometheus/pushgateway / Error

Method Error

api/v1/api.go:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57func (e *apiError) Error() string {
58 return fmt.Sprintf("%s: %s", e.typ, e.err)
59}
60
61var corsHeaders = map[string]string{
62 "Access-Control-Allow-Headers": "Accept, Authorization, Content-Type, Origin",

Callers 15

mainFunction · 0.80
decodeRequestFunction · 0.80
NewDiskMetricStoreFunction · 0.80
HealthyMethod · 0.80
loopMethod · 0.80
TestGetMetricFamiliesFunction · 0.80
TestNoPersistenceFunction · 0.80
TestRejectTimestampsFunction · 0.80
TestSanitizeLabelsFunction · 0.80
TestReplaceFunction · 0.80

Calls

no outgoing calls

Tested by 8

TestGetMetricFamiliesFunction · 0.64
TestNoPersistenceFunction · 0.64
TestRejectTimestampsFunction · 0.64
TestSanitizeLabelsFunction · 0.64
TestReplaceFunction · 0.64
TestGetMetricFamiliesMapFunction · 0.64