Include resource name in the event. (#107185)
This commit is contained in:
@@ -305,7 +305,7 @@ func (b *batchRunner) Next() bool {
|
||||
|
||||
// Mention resource in the span.
|
||||
attrs := []attribute.KeyValue{
|
||||
attribute.String("key", k),
|
||||
attribute.String("key", nsgrWithName(key)),
|
||||
}
|
||||
if b.err != nil {
|
||||
attrs = append(attrs, attribute.String("error", b.err.Error()))
|
||||
|
||||
Reference in New Issue
Block a user