go.pact.im/x/traces.Span.SetAttrs (method)
21 uses
go.pact.im/x/traces (current package)
span.go#L48: func (s *Span) SetAttrs(attrs ...Attr) {
go.pact.im/x/traces/grpctraces
handler.go#L182: sp.SetAttrs(traces.String(attrNetworkPeerAddress, host))
handler.go#L184: sp.SetAttrs(traces.Int(attrNetworkPeerPort, port))
handler.go#L187: sp.SetAttrs(traces.String(attrServerAddress, host))
handler.go#L189: sp.SetAttrs(traces.Int(attrServerPort, port))
handler.go#L197: sp.SetAttrs(traces.String(attrRPCResponseStatusCode, codeName))
handler.go#L199: sp.SetAttrs(traces.String(attrErrorType, codeName))
go.pact.im/x/traces/httptraces
handler.go#L185: sp.SetAttrs(traces.String(attrErrorType, errorTypePanic))
handler.go#L196: sp.SetAttrs(traces.String(attrHTTPRoute, route))
handler.go#L202: sp.SetAttrs(traces.Int(attrHTTPResponseStatusCode, status))
handler.go#L204: sp.SetAttrs(traces.String(attrErrorType, strconv.Itoa(status)))
transport.go#L123: sp.SetAttrs(traces.String(attrErrorType, fmt.Sprintf("%T", err)))
transport.go#L129: sp.SetAttrs(traces.Int(attrHTTPResponseStatusCode, resp.StatusCode))
transport.go#L131: sp.SetAttrs(traces.String(attrNetworkProtocolVersion, proto))
transport.go#L134: sp.SetAttrs(traces.String(attrErrorType, strconv.Itoa(resp.StatusCode)))
go.pact.im/x/traces/otelbridge
span.go#L68: s.span.SetAttrs(convertAttrs(kv)...)
go.pact.im/x/traces/pgxtraces
query.go#L62: sp.SetAttrs(traces.Int64(attrDBReturnedRows, data.CommandTag.RowsAffected()))
query.go#L134: sp.SetAttrs(traces.Int64(attrDBReturnedRows, data.CommandTag.RowsAffected()))
query.go#L193: sp.SetAttrs(traces.Int64(attrDBReturnedRows, data.CommandTag.RowsAffected()))
tracer.go#L182: sp.SetAttrs(
tracer.go#L187: sp.SetAttrs(traces.String(attrErrorType, fmt.Sprintf("%T", err)))