You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-07-15 01:04:25 +02:00
add SetAttribute(string,interface{}) (#674)
This commit is contained in:
@ -121,6 +121,9 @@ type Span interface {
|
||||
|
||||
// Set span attributes
|
||||
SetAttributes(...core.KeyValue)
|
||||
|
||||
// Set singular span attribute, with type inference.
|
||||
SetAttribute(string, interface{})
|
||||
}
|
||||
|
||||
// StartOption applies changes to StartConfig that sets options at span start time.
|
||||
|
Reference in New Issue
Block a user