Metric timestamps in the distant past on chrome #3383
Labels
bug
Something isn't working
priority:p2
Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect
sdk:metrics
Issues and PRs related to the Metrics SDK
What happened?
Steps to Reproduce
call
createCounter('test_counter').add(1);
from an instance of Chrome on version 106.0.5249.119 (i'm not sure exactly how far back this open bug goes, but it's definitely in that version)Expected Result
test_counter
metric emitted with timestamp reflecting the time the metric was recordedActual Result
test_counter
metric emitted with timestamp from days/weeks ago, depending on how long you've had chrome openAdditional Details
this is the metrics side of #3355. both of these issues could be fixed by #3279, but it's actually even easier in the metrics case, since metrics don't need a monotonic clock and could safely just use
Date.now()
OpenTelemetry Setup Code
No response
package.json
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: