You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-23 22:34:47 +02:00
Named Tracer: temporary remove unnecessary tracer methods (#158)
This commit is contained in:
@@ -36,14 +36,6 @@ type Tracer interface {
|
||||
operation string,
|
||||
body func(ctx context.Context) error,
|
||||
) error
|
||||
|
||||
// TODO: Do we need WithService and WithComponent?
|
||||
// TODO: Can we make these helpers (based on WithResources)?
|
||||
WithService(name string) Tracer
|
||||
WithComponent(name string) Tracer
|
||||
|
||||
// WithResources attaches resource attributes to the Tracer.
|
||||
WithResources(res ...core.KeyValue) Tracer
|
||||
}
|
||||
|
||||
type EndOptions struct {
|
||||
|
||||
Reference in New Issue
Block a user