Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/client_golang
/ formatTime
Function
formatTime
api/prometheus/v1/api.go:1500–1502 ·
view source on GitHub ↗
(t time.Time)
Source
from the content-addressed store, hash-verified
1498
}
1499
1500
func
formatTime(t time.Time) string {
1501
return
strconv.FormatFloat(float64(t.Unix())+float64(t.Nanosecond())/1e9,
'f'
, -1, 64)
1502
}
Callers
7
DeleteSeries
Method · 0.85
LabelNames
Method · 0.85
LabelValues
Method · 0.85
Query
Method · 0.85
QueryRange
Method · 0.85
Series
Method · 0.85
QueryExemplars
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected