-
Notifications
You must be signed in to change notification settings - Fork 611
Open
Labels
bugSomething isn't workingSomething isn't workingnever-stalepriority:p2Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrectBugs and spec inconsistencies which cause telemetry to be incomplete or incorrect
Description
What version of OpenTelemetry are you using?
v0.13.0
What version of Node are you using?
12
What did you do?
If possible, provide a recipe for reproducing the error.
While there is no redis server on localhost, I run the following code:
const Redis = require("ioredis");
const redis = new Redis();
What did you expect to see?
Expected to see spans of connect
with an error indication (as the connect failed), and expected the duration to contain the full length of the operation.
What did you see instead?
Spans are reported with CanonicalCode.OK (StatusCode.UNSET in master), and the duration only tracks the connect
function call, and not including the time until the callback is called.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingnever-stalepriority:p2Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrectBugs and spec inconsistencies which cause telemetry to be incomplete or incorrect