go-sdk
go-sdk copied to clipboard
Span type and span operation name for `oauthtrace` are generic HTTP
See
https://github.com/blend/go-sdk/blob/e7d08d510b515a147af92fa3a8f0483b612770c6/stats/tracing/oauthtrace/tracer.go#L30-L33
The span.type=http tag and operationName=http.request in the StartSpanFromContext() don't seem specific enough to OAuth.
The OperationHTTPRequest is used in stats/tracing/oauthtrace, stats/tracing/r2trace and stats/tracing/webtrace (as of e7d08d510b515a147af92fa3a8f0483b612770c6) and SpanTypeHTTP is used in stats/tracing/oauthtrace and stats/tracing/r2trace.