database/sql.DB.Ping
standard libraryThe 4052nd most-called standard-library method by production calls. Called 282 times across 82 modules; 151 of those run outside tests and generated code.
No change in production calls since 2026-W39.
- prod calls
- 151
- non-test, non-generated
- all calls
- 282
- total callsites
- modules
- 82
- distinct callers
- in loop
- 7%
- of prod calls
- in tests
- 46%
- 131 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 method93%A method on a value whose type is known exactly.
- Embedded method7%Reached through an embedded type.
who calls this
Notable callers
Production calls into DB.Ping from notable Go projects. Open one on the map to see what else it hammers.
- ClickHouse 17 11%
- KEDA 5 3%
- Vault 5 3%
- HashiCorp 4 3%
- MinIO 4 3%
where it's called
Callsites in the wild
12 representative callsites of 282, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop test
top callers
The modules that reach for it
The modules that call DB.Ping most in this snapshot.
- github.com/ClickHouse/clickhouse-go/v23412%
- github.com/golang-migrate/migrate/v4176%
- github.com/hashicorp/vault114%
- github.com/fergusstrange/embedded-postgres104%
- github.com/golang-migrate/migrate93%
siblings
More from database/sql
The other most-called members in this package. See all →