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

Move previous internal metrics package to dataold #1658

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

bogdandrutu
Copy link
Member

@bogdandrutu bogdandrutu commented Aug 28, 2020

Need to re-generate the new internal metrics, but it is too much code to change,
so will move this to dataold (was internal anyway, so no public breaking change).

Moved internal/data to internal/dataold and metrics testdata to testdataold.

First action item from #1657

@codecov
Copy link

codecov bot commented Aug 28, 2020

Codecov Report

Merging #1658 into master will decrease coverage by 0.01%.
The diff coverage is 99.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1658      +/-   ##
==========================================
- Coverage   92.03%   92.01%   -0.02%     
==========================================
  Files         259      260       +1     
  Lines       17584    17601      +17     
==========================================
+ Hits        16183    16196      +13     
- Misses        992      994       +2     
- Partials      409      411       +2     
Impacted Files Coverage Δ
exporter/prometheusremotewriteexporter/helper.go 100.00% <ø> (ø)
internal/data/testdata/common.go 100.00% <ø> (ø)
translator/internaldata/metrics_to_oc.go 91.54% <95.23%> (ø)
translator/internaldata/oc_to_metrics.go 89.10% <95.65%> (ø)
consumer/pdata/metric.go 100.00% <100.00%> (ø)
consumer/pdatautil/pdatautil.go 70.58% <100.00%> (ø)
exporter/fileexporter/file_exporter.go 83.33% <100.00%> (ø)
exporter/loggingexporter/logging_exporter.go 88.68% <100.00%> (ø)
exporter/otlpexporter/otlp.go 75.53% <100.00%> (ø)
internal/dataold/generated_metrics.go 100.00% <100.00%> (ø)
... and 38 more

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 eb0896e...d3054ba. Read the comment docs.

Need to re-generate the new internal metrics, but it is too much code to change,
so will move this to dataold (was internal anyway, so no public breaking change).

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@bogdandrutu bogdandrutu merged commit 42ac0ee into open-telemetry:master Aug 28, 2020
@bogdandrutu bogdandrutu deleted the metricsinternalold branch August 28, 2020 03:19
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
…en-telemetry#1662)

* Fix open-telemetry#1658 SpanStatus description set only when status code is set to error

* Update CHANGELOG.md

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Troels51 pushed a commit to Troels51/opentelemetry-collector that referenced this pull request Jul 5, 2024
Fixed some warnings reported by clang.

-Wnewline-eof
  no newline at end of file

-Wc++98-compat-extra-semi
  extra ';' outside of a function is incompatible with C++98

-Winconsistent-missing-destructor-override
  '~XXX' overrides a destructor but is not marked 'override'

-Wheader-hygiene
  using namespace directive in global context in header

-Wunused-parameter
  unused parameter

Fixed some warnings reported by gcc.

-Werror=missing-field-initializers
  missing initializer for member ‘opentelemetry::v1::sdk::trace::SamplingResult::trace_state’

-Werror=unused-variable
  unused variable

-Werror=unused-parameter
  unused parameter
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