github.com/prometheus/common/config.Secret
third-partyThe 8115th most-called third-party function by production calls. Called 180 times across 10 modules; 73 of those run outside tests and generated code.
All of github.com/prometheus/common/config → Docs on pkg.go.dev ↗
- prod calls
- 73
- non-test, non-generated
- all calls
- 180
- total callsites
- modules
- 10
- distinct callers
- in loop
- 11%
- of prod calls
- in tests
- 59%
- 107 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 function (by syntax)100%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into Secret from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 61 84%
- Prometheus 5 7%
- Cortex 2 3%
where it's called
Callsites in the wild
12 representative callsites of 180, prioritizing in-loop and non-test usage. We link to source, never display it.
-
sourcegraph/sourcegraph-public-snapshot @v0.0.0
docker-images/prometheus/cmd/prom-wrapper/receivers.go:349 ↗
in loop - in loop
- in loop
-
sourcegraph/sourcegraph-public-snapshot @v0.0.0
docker-images/prometheus/cmd/prom-wrapper/receivers.go:351 ↗
in loop - in loop
- in loop
- in loop
- in loop
- in loop test
- in loop test
-
-
top callers
The modules that reach for it
The modules that call Secret most in this snapshot.
- github.com/grafana/alloy9251%
- github.com/prometheus/alertmanager5933%
- github.com/grafana/loki/v395%
- github.com/prometheus/prometheus63%
- github.com/grafana/dskit42%