(cherry picked from commit 6aef353b59)
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
This commit is contained in:
co-authored by
Emil Tullstedt
parent
1c19fa164a
commit
6f32c12628
@@ -307,9 +307,7 @@ func (s OpentelemetrySpan) SetStatus(code codes.Code, description string) {
|
||||
}
|
||||
|
||||
func (s OpentelemetrySpan) RecordError(err error, options ...trace.EventOption) {
|
||||
for _, o := range options {
|
||||
s.span.RecordError(err, o)
|
||||
}
|
||||
s.span.RecordError(err, options...)
|
||||
}
|
||||
|
||||
func (s OpentelemetrySpan) AddEvents(keys []string, values []EventValue) {
|
||||
|
||||
Reference in New Issue
Block a user