-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 public functions to export pdata to ExportXServicesRequest Protobuf bytes #1741
add public functions to export pdata to ExportXServicesRequest Protobuf bytes #1741
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1741 +/- ##
==========================================
- Coverage 91.90% 91.89% -0.01%
==========================================
Files 262 262
Lines 18744 18756 +12
==========================================
+ Hits 17226 17236 +10
- Misses 1085 1086 +1
- Partials 433 434 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can support this without making any trade-offs for future work
@tigrannajaryan what is your opinion on this? I think I am ok with this. |
I think this is a good approach. The wire format is part of our contract, exposing it does not place any unwanted restriction on us. And the ToOtlpProtoBytes functions are trivial so it is not a maintenance burden either. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…jaeger (open-telemetry#1741) * Bump google.golang.org/api in /exporters/trace/jaeger Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.41.0 to 0.43.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md) - [Commits](googleapis/google-api-go-client@v0.41.0...v0.43.0) Signed-off-by: dependabot[bot] <support@github.com> * Auto-fix go.sum changes in dependent modules Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
…1741) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.7.5...v1.8.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Description:
Adding a feature - Add the public functions to export internal pipeline data to otlp
ExportLogsServiceRequest
,ExportMetricsServiceRequest
,ExportTraceServiceRequest
.The intention for this feature is to add a way to export the internal data to protbuf bytes without exposing the internal protobuf generated data structure. Thus the user can send this otlp data over HTTP.
Link to tracking Issue:
#1719
Testing:
Unit test added.
Documentation:
Comments added for the new feature.