You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-23 22:34:47 +02:00
Allow setting the name of the span after starting it (#102)
* Allow setting the name of the span after starting it * Add test for setting the name of the span
This commit is contained in:
@@ -72,6 +72,10 @@ func (mockSpan) IsRecordingEvents() bool {
|
||||
func (mockSpan) SetStatus(status codes.Code) {
|
||||
}
|
||||
|
||||
// SetName does nothing.
|
||||
func (mockSpan) SetName(name string) {
|
||||
}
|
||||
|
||||
// SetError does nothing.
|
||||
func (mockSpan) SetError(v bool) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user