Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Fix bug where collector startTime is in nanoseconds #486

Merged
merged 1 commit into from
Oct 21, 2020
Merged

Conversation

ktkrg
Copy link
Contributor

@ktkrg ktkrg commented Oct 21, 2020

Fixes #:
#485

Description of changes:
This PR fixes a bug where the instance variable startTime was being hidden by the local variable startTime(#436) causing the collector's timestamp to be recorded in nanoseconds.

Tests:
Made sure docker build was fine, and that perftop showed metrics correctly.

If new tests are added, how long do the new ones take to complete

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ktkrg ktkrg requested review from yojs and khushbr October 21, 2020 22:10
@ktkrg ktkrg self-assigned this Oct 21, 2020
@yojs yojs merged commit f0155b5 into master Oct 21, 2020
@yojs yojs deleted the nano-bug-fix branch October 21, 2020 22:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants