1
0
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:
Artem Kartasov
2019-10-03 11:19:32 +07:00
committed by rghetia
parent 211007efb2
commit cd5ee69468
5 changed files with 6 additions and 61 deletions

View File

@@ -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 {