Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified otel-http-server-duration from microseconds to milliseconds #1537

Merged

Conversation

rltoSD
Copy link
Contributor

@rltoSD rltoSD commented Dec 21, 2021

Description:
This PR is to modify otel http server duration from microseconds to milliseconds as per the specs mentioned in OpenTelemetry Go.

Link to tracking Issue:
issue #1335

@codecov
Copy link

codecov bot commented Dec 21, 2021

Codecov Report

Merging #1537 (88a34d6) into main (f06b204) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #1537   +/-   ##
=====================================
  Coverage   69.3%   69.3%           
=====================================
  Files        127     127           
  Lines       5479    5480    +1     
=====================================
+ Hits        3799    3800    +1     
  Misses      1533    1533           
  Partials     147     147           
Impacted Files Coverage Δ
instrumentation/net/http/otelhttp/handler.go 78.2% <100.0%> (+0.1%) ⬆️

Copy link
Contributor

@MrAlias MrAlias left a comment

Choose a reason for hiding this comment

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

Please fix the build failure. I looks like an EOL char is needed in handler.go.

CHANGELOG.md Outdated Show resolved Hide resolved
instrumentation/net/http/otelhttp/handler.go Show resolved Hide resolved
Richard To and others added 3 commits December 22, 2021 16:15
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
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.

None yet

4 participants