-
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
Begin implementation of OTLP/HTTP exporter #1928
Begin implementation of OTLP/HTTP exporter #1928
Conversation
b7c9c80
to
0cbf345
Compare
Codecov Report
@@ Coverage Diff @@
## master #1928 +/- ##
==========================================
- Coverage 91.39% 91.24% -0.15%
==========================================
Files 284 286 +2
Lines 16740 16841 +101
==========================================
+ Hits 15299 15367 +68
- Misses 1009 1036 +27
- Partials 432 438 +6
Continue to review full report at Codecov.
|
- `key_file` path to the TLS key to use for TLS required connections. Should | ||
only be used if `insecure` is set to false. | ||
- `timeout` (default = 30s): How long to wait until the connection is close. | ||
- `read_buffer_size` (default = 0): ReadBufferSize for HTTP client. |
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.
Given that reads are for error reporting purposes (I'm assuming), is it really so important to be able to configure the read buffer size?
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.
Not important, but it already exists in the HTTPClientSettings. Perhaps we can keep it undocumented to avoid overloading the users with unnecessary settings?
0718230
to
b1c6894
Compare
This adds the initial config and factory boilerplate and corresponding tests. Contributes to: open-telemetry#882 Testing: config and factory tests unit tests added. Documentation: Added README. The next PR will add the exporting logic.
b1c6894
to
85e217e
Compare
type sender interface { | ||
exportTrace(ctx context.Context, request *otlptrace.ExportTraceServiceRequest) error | ||
exportMetrics(ctx context.Context, request *otlpmetrics.ExportMetricsServiceRequest) error | ||
exportLogs(ctx context.Context, request *otlplogs.ExportLogsServiceRequest) error | ||
stop() error | ||
} |
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.
This interface is no longer required, was added with the idea that both grpc and http will be in the same exporter. Needs to be removed from grpc as well.
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.
Created the PR to remove from grpc #1933
This adds the initial config and factory boilerplate and corresponding tests.
The next PR will add the exporting logic.
Contributes to: #882
Added README.