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

Add testdata for the new metrics structs #1665

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

bogdandrutu
Copy link
Member

Not all the methods are used, but they will be soon when converting components.

Code mostly copied from testdataold and transformed to use the new structs.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@codecov
Copy link

codecov bot commented Aug 28, 2020

Codecov Report

Merging #1665 into master will decrease coverage by 0.14%.
The diff coverage is 84.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1665      +/-   ##
==========================================
- Coverage   92.24%   92.09%   -0.15%     
==========================================
  Files         262      263       +1     
  Lines       18765    19220     +455     
==========================================
+ Hits        17309    17700     +391     
- Misses       1042     1106      +64     
  Partials      414      414              
Impacted Files Coverage Δ
internal/data/testdata/metric.go 83.09% <83.09%> (ø)
internal/data/testdata/common.go 100.00% <100.00%> (ø)
consumer/pdata/metric.go 69.76% <0.00%> (+6.97%) ⬆️

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 03faf67...94f55c1. Read the comment docs.

@bogdandrutu bogdandrutu reopened this Aug 28, 2020
@bogdandrutu bogdandrutu merged commit 02bf8dc into open-telemetry:master Aug 28, 2020
@bogdandrutu bogdandrutu deleted the newtestdata branch August 28, 2020 19:43
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
…emetry#1665)

* Add test to prove the Tracer is safe for concurrent calls

* Fix NotToPanic of harness never call the input func

* Fix tests

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.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.

2 participants