Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
57
func
(e *apiError) Error() string {
58
return
fmt.Sprintf(
"%s: %s"
, e.typ, e.err)
59
}
60
61
var
corsHeaders =
map
[string]string{
62
"Access-Control-Allow-Headers"
:
"Accept, Authorization, Content-Type, Origin"
,
Callers
15
main
Function · 0.80
decodeRequest
Function · 0.80
NewDiskMetricStore
Function · 0.80
Healthy
Method · 0.80
loop
Method · 0.80
TestGetMetricFamilies
Function · 0.80
TestAddDeletePersistRestore
Function · 0.80
TestNoPersistence
Function · 0.80
TestRejectTimestamps
Function · 0.80
TestRejectInconsistentPush
Function · 0.80
TestSanitizeLabels
Function · 0.80
TestReplace
Function · 0.80
Calls
no outgoing calls
Tested by
8
TestGetMetricFamilies
Function · 0.64
TestAddDeletePersistRestore
Function · 0.64
TestNoPersistence
Function · 0.64
TestRejectTimestamps
Function · 0.64
TestRejectInconsistentPush
Function · 0.64
TestSanitizeLabels
Function · 0.64
TestReplace
Function · 0.64
TestGetMetricFamiliesMap
Function · 0.64