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

Decouple otlp/otlptrace/otlptracegrpc from otlp/internal and otlp/otlptrace/internal using gotmpl #4400

Merged
merged 11 commits into from Aug 3, 2023

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Aug 2, 2023

Currently the otlp exporters share internal packages across package boundaries. This is something we want to stop doing: #3846. This PR addresses the cross-module internal package use for the otel/exporters/otlp/otlptrace/otlptracegrpc package.

This is a follow up to #4397.

@MrAlias MrAlias added the pkg:exporter:otlp Related to the OTLP exporter package label Aug 2, 2023
@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #4400 (f271a39) into main (58c9cf6) will decrease coverage by 0.2%.
The diff coverage is 81.0%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #4400     +/-   ##
=======================================
- Coverage   83.6%   83.5%   -0.2%     
=======================================
  Files        196     206     +10     
  Lines      15306   15982    +676     
=======================================
+ Hits       12811   13359    +548     
- Misses      2237    2344    +107     
- Partials     258     279     +21     
Files Changed Coverage Δ
exporters/otlp/otlptrace/otlptracegrpc/client.go 92.5% <ø> (ø)
...trace/otlptracegrpc/internal/otlptracetest/data.go 0.0% <0.0%> (ø)
exporters/otlp/otlptrace/otlptracegrpc/options.go 76.4% <ø> (ø)
...otlptrace/otlptracegrpc/internal/otlpconfig/tls.go 62.5% <62.5%> (ø)
...e/otlptracegrpc/internal/otlptracetest/otlptest.go 62.5% <62.5%> (ø)
.../otlptracegrpc/internal/otlptracetest/collector.go 72.9% <72.9%> (ø)
...ace/otlptracegrpc/internal/otlptracetest/client.go 82.2% <82.2%> (ø)
...race/otlptracegrpc/internal/envconfig/envconfig.go 86.4% <86.4%> (ø)
...ace/otlptracegrpc/internal/otlpconfig/envconfig.go 89.5% <89.5%> (ø)
...trace/otlptracegrpc/internal/otlpconfig/options.go 93.5% <93.5%> (ø)
... and 2 more

@MrAlias MrAlias merged commit 2e6ca0a into open-telemetry:main Aug 3, 2023
21 of 22 checks passed
@MrAlias MrAlias deleted the gotmpl-otlptracegrpc branch August 3, 2023 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:exporter:otlp Related to the OTLP exporter package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants