database/sql.DB.PingContext
standard libraryThe 4348th most-called standard-library method by production calls. Called 199 times across 52 modules; 137 of those run outside tests and generated code.
- prod calls
- 137
- non-test, non-generated
- all calls
- 199
- total callsites
- modules
- 52
- distinct callers
- in loop
- 10%
- of prod calls
- in tests
- 31%
- 62 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 method92%A method on a value whose type is known exactly.
- Embedded method8%Reached through an embedded type.
who calls this
Notable callers
Production calls into DB.PingContext from notable Go projects. Open one on the map to see what else it hammers.
- Vault 4 3%
- ClickHouse 2 1%
- HashiCorp 2 1%
- KEDA 2 1%
- CockroachDB 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 199, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
- in loop
- in loop
- in loop
-
sosedoff/pgweb @v0.17.0
in loop - in loop
- in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call DB.PingContext most in this snapshot.
- github.com/googleapis/mcp-toolbox2613%
- github.com/steveyegge/beads2111%
- github.com/gastownhall/beads1910%
- github.com/bytebase/bytebase158%
- github.com/ClickHouse/clickhouse-go/v2147%
siblings
More from database/sql
The other most-called members in this package. See all →