Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/client_golang
/ String
Method
String
prometheus/collectors/gen_go_collector_set.go:181–183 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
179
type
goVersion int
180
181
func
(g goVersion) String() string {
182
return
fmt.Sprintf(
"go1.%d"
, g)
183
}
184
185
func
(g goVersion) Abbr() string {
186
return
fmt.Sprintf(
"go1%d"
, g)
Callers
15
labelsToLabelPair
Function · 0.45
assetMetricAndExemplars
Function · 0.45
computeApproximateRequestSize
Function · 0.45
TestHandlerErrorHandling
Function · 0.45
TestInstrumentMetricHandler
Function · 0.45
TestHandlerMaxRequestsInFlight
Function · 0.45
TestHandlerTimeout
Function · 0.45
gen_go_collector_set.go
File · 0.45
TestGetOptCodes
Function · 0.45
TestGroupedOpCodes
Function · 0.45
GetUnifiedDiffString
Function · 0.45
convertReaderToMetricFamily
Function · 0.45
Calls
no outgoing calls
Tested by
13
labelsToLabelPair
Function · 0.36
assetMetricAndExemplars
Function · 0.36
TestHandlerErrorHandling
Function · 0.36
TestInstrumentMetricHandler
Function · 0.36
TestHandlerMaxRequestsInFlight
Function · 0.36
TestHandlerTimeout
Function · 0.36
TestGetOptCodes
Function · 0.36
TestGroupedOpCodes
Function · 0.36
TestSanitize
Function · 0.36
testWriteSummary
Function · 0.36
testWriteHistogram
Function · 0.36
testToReader
Function · 0.36