go.opentelemetry.io/otel/trace.Span.AddEvent
third-partyThe 2521st most-called third-party method by production calls. Called 246 times across 39 modules; 244 of those run outside tests and generated code.
0% in production calls vs 2026-W37 (243 → 244)
All of go.opentelemetry.io/otel/trace → Docs on pkg.go.dev ↗
- prod calls
- 244
- non-test, non-generated
- all calls
- 246
- total callsites
- modules
- 39
- distinct callers
- in loop
- 13%
- of prod calls
- in tests
- <1%
- 2 calls
- resolved
- 1%
- 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 →
- Embedded method1%Reached through an embedded type.
- Interface method99%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into Span.AddEvent from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 90 37%
- Terraform 21 9%
- Prometheus 18 7%
- Docker 11 5%
- gRPC 8 3%
where it's called
Callsites in the wild
12 representative callsites of 246, 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
-
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
jobservice/runner/redis.go:96
in loop - in loop
- in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Span.AddEvent most in this snapshot.
- github.com/grafana/loki/v34217%
- github.com/grafana/pyroscope4217%
- github.com/ory/kratos2611%
- github.com/hashicorp/terraform219%
- github.com/prometheus/alertmanager177%
siblings
More from go.opentelemetry.io/otel/trace
The other most-called members in this package. See all →