package objectstore import ( "context" "gitea.privcloud.tech/vlad_marlo/mtusi2026lab6/internal/observation" ) // WithTracer binds optional operation tracing without exposing credentials or object keys. func (c *Client) WithTracer(tracer observation.Tracer) *Client { c.tracer = tracer return c } // start records only the stable S3 operation name. func (c *Client) start(ctx context.Context, operation string) (context.Context, func(error)) { if c.tracer != nil { return c.tracer.Start(ctx, operation, "client") } return ctx, func(error) { } }