From 70f77758933f80099ffb9b0fe6ef268d6c29a6c2 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Sun, 3 Apr 2022 15:36:06 -0400 Subject: [PATCH] dial: fix tracing attribute --- lib/tasks/dial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/dial.js b/lib/tasks/dial.js index 36952b38..a4def295 100644 --- a/lib/tasks/dial.js +++ b/lib/tasks/dial.js @@ -406,7 +406,7 @@ class TaskDial extends Task { this._killOutdials(); }, this.timeout * 1000); - this.span.setAttributes('dial.target', JSON.stringify(this.target)); + this.span.setAttributes({'dial.target': JSON.stringify(this.target)}); this.target.forEach(async(t) => { try { t.url = t.url || this.confirmUrl;