Skip to content

Fix casting to microseconds#937

Merged
ThomsonTan merged 2 commits intoopen-telemetry:mainfrom
srgbtl:main
Aug 3, 2021
Merged

Fix casting to microseconds#937
ThomsonTan merged 2 commits intoopen-telemetry:mainfrom
srgbtl:main

Conversation

@srgbtl
Copy link
Copy Markdown
Contributor

@srgbtl srgbtl commented Aug 3, 2021

Changes

std::chrono::duration can be converted to integral value via count() function

@srgbtl srgbtl requested a review from a team August 3, 2021 14:03
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Aug 3, 2021

CLA Signed

The committers are authorized under a signed CLA.

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 3, 2021

Codecov Report

Merging #937 (dedb8d3) into main (fa107a8) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #937   +/-   ##
=======================================
  Coverage   95.36%   95.36%           
=======================================
  Files         160      160           
  Lines        6780     6780           
=======================================
  Hits         6465     6465           
  Misses        315      315           
Impacted Files Coverage Δ
api/include/opentelemetry/trace/tracer.h 100.00% <ø> (ø)

Copy link
Copy Markdown
Member

@lalitb lalitb left a comment

Choose a reason for hiding this comment

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

Thanks for the fix.

@ThomsonTan ThomsonTan merged commit dc25ea6 into open-telemetry:main Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants