Include resource name in the event. (#107185)

This commit is contained in:
Peter Štibraný
2025-06-27 09:29:49 +00:00
committed by GitHub
parent 53ec379af8
commit 2e9559a376
2 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -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()))