gopkg.in/yaml.v2.Marshal
third-partyThe 3478th most-called third-party function by production calls. Called 323 times across 57 modules; 171 of those run outside tests and generated code.
No change in production calls since 2026-W37.
- prod calls
- 171
- non-test, non-generated
- all calls
- 323
- total callsites
- modules
- 57
- distinct callers
- in loop
- 7%
- of prod calls
- in tests
- 47%
- 152 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 →
- Package function97%A direct call to an exported package function, resolved by type.
- Package function (by syntax)3%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into Marshal from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 37 22%
- Kubernetes 10 6%
- VictoriaMetrics 10 6%
- Cortex 4 2%
- Uber Go 4 2%
where it's called
Callsites in the wild
12 representative callsites of 323, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
schollz/croc @v2.2.0+incompatible
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
-
grafana/mimir @v1.10.0
in loop -
grafana/tempo @v1.5.0
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call Marshal most in this snapshot.
- github.com/prometheus-operator/prometheus-operator3812%
- github.com/thanos-io/thanos3110%
- github.com/grafana/loki/v3299%
- github.com/grafana/mimir268%
- github.com/cortexproject/cortex227%
siblings
More from gopkg.in/yaml.v2
The other most-called functions in this package. See all →