You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-07-13 01:00:22 +02:00
add SetAttribute(string,interface{}) (#674)
This commit is contained in:
@ -97,6 +97,10 @@ func (mockSpan) SetError(v bool) {
|
||||
func (mockSpan) SetAttributes(attributes ...core.KeyValue) {
|
||||
}
|
||||
|
||||
// SetAttribute does nothing.
|
||||
func (mockSpan) SetAttribute(k string, v interface{}) {
|
||||
}
|
||||
|
||||
// End does nothing.
|
||||
func (mockSpan) End(options ...trace.EndOption) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user