time.Time.UnixMilli
standard libraryThe 673rd most-called standard-library method by production calls. Called 2,894 times across 142 modules; 1,056 of those run outside tests and generated code.
2% in production calls vs 2026-W37 (1,039 → 1,056)
- prod calls
- 1,056
- non-test, non-generated
- all calls
- 2,894
- total callsites
- modules
- 142
- distinct callers
- in loop
- 14%
- of prod calls
- in tests
- 64%
- 1,838 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method100%A method on a value whose type is known exactly.
- Embedded method<1%Reached through an embedded type.
who calls this
Notable callers
Production calls into Time.UnixMilli from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 173 16%
- VictoriaMetrics 68 6%
- Cortex 10 <1%
- Prometheus 7 <1%
- Kubernetes 6 <1%
where it's called
Callsites in the wild
12 representative callsites of 2,894, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
gitea.dev @v1.27.3
services/repository/contributors_graph.go:262
in loop -
IBM/sarama @v1.60.2
in loop -
NoFxAiOS/nofx @v0.0.0-20260905025447-638d40421189
in loop - in loop
- in loop
- in loop
- in loop
-
canopy-network/canopy @v0.1.28-0.20260915203522-5820274b55dc
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call Time.UnixMilli most in this snapshot.
- github.com/grafana/pyroscope43815%
- github.com/VictoriaMetrics/VictoriaMetrics36413%
- github.com/weaviate/weaviate31611%
- github.com/grafana/loki/v31565%
- github.com/VictoriaMetrics/VictoriaLogs1535%
siblings
More from time
The other most-called members in this package. See all →