You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-29 23:07:45 +02:00
committed by
Liz Fong-Jones
parent
f25c84f35f
commit
eb9fe13a77
@@ -84,13 +84,6 @@ func (s *span) SetStatus(status codes.Code) {
|
||||
s.mu.Unlock()
|
||||
}
|
||||
|
||||
func (s *span) SetAttribute(attribute core.KeyValue) {
|
||||
if !s.IsRecording() {
|
||||
return
|
||||
}
|
||||
s.copyToCappedAttributes(attribute)
|
||||
}
|
||||
|
||||
func (s *span) SetAttributes(attributes ...core.KeyValue) {
|
||||
if !s.IsRecording() {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user