Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Set startTimestamp to creation time of cumulative view #273

Merged

Conversation

mayurkale22
Copy link
Member

No description provided.

@codecov-io
Copy link

codecov-io commented Jan 10, 2019

Codecov Report

Merging #273 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #273      +/-   ##
==========================================
+ Coverage    94.8%   94.81%   +<.01%     
==========================================
  Files         110      110              
  Lines        7779     7786       +7     
  Branches      713      713              
==========================================
+ Hits         7375     7382       +7     
  Misses        404      404
Impacted Files Coverage Δ
src/common/time-util.ts 100% <0%> (ø) ⬆️
src/stats/view.ts 97.67% <0%> (ø) ⬆️
test/test-view.ts 99.2% <0%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3db8bf5...dfa9ade. Read the comment docs.

@mayurkale22
Copy link
Member Author

Same as #272, we need to change 'View' startTime to use high resolutions timestamp (

export function getTimestampWithProcessHRTime(): Timestamp {
). I think this is breaking change and I prefer to do in separate PR.

@@ -200,9 +200,10 @@ export class BaseView implements View {

/**
* Gets view`s metric
* @param start The start timestamp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this say add "in epoch milliseconds"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done,thanks

@mayurkale22 mayurkale22 merged commit 90f1905 into census-instrumentation:master Jan 11, 2019
@mayurkale22 mayurkale22 deleted the fix_starttimestamp branch January 11, 2019 18:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants