-
Notifications
You must be signed in to change notification settings - Fork 580
Documented compression option for data prepper otel-logs-source sink #10196
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
Documented compression option for data prepper otel-logs-source sink #10196
Conversation
Signed-off-by: Zeeshan Alam <Zeeshan.Alam+fidelity@fmr.com>
Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged. Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer. When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review. |
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.
Thank you, @alamzeeshan! Could you change the capitalization of the data types? It Should be "Integer" and "String" instead of "int" and "string". Thanks!
@@ -22,13 +22,14 @@ You can configure the `otel_logs_source` source with the following options. | |||
| :--- | :--- | :--- | | |||
| port | int | Represents the port that the `otel_logs_source` source is running on. Default value is `21892`. | | |||
| path | string | Represents the path for sending unframed HTTP requests. You can use this option to support an unframed gRPC request with an HTTP idiomatic path to a configurable path. The path should start with `/`, and its length should be at least 1. The `/opentelemetry.proto.collector.logs.v1.LogsService/Export` endpoint is disabled for both gRPC and HTTP requests if the path is configured. The path can contain a `${pipelineName}` placeholder, which is replaced with the pipeline name. If the value is empty and `unframed_requests` is `true`, then the source provides the path `/opentelemetry.proto.collector.logs.v1.LogsService/Export`. | | |||
| max_request_length | No | ByteCount | The maximum number of bytes allowed in the payload of a single gRPC or HTTP request. Default value is `10mb`. | |||
| max_request_length | No | The maximum number of bytes allowed in the payload of a single gRPC or HTTP request. Default value is `10mb`. | |
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.
| max_request_length | No | The maximum number of bytes allowed in the payload of a single gRPC or HTTP request. Default value is `10mb`. | | |
| max_request_length | String | The maximum number of bytes allowed in the payload of a single gRPC or HTTP request. Default value is `10mb`. | |
| request_timeout | int | Represents the request timeout duration in milliseconds. Default value is `10000`. | | ||
| health_check_service | Boolean | Enables the gRPC health check service under `grpc.health.v1/Health/Check`. Default value is `false`. | | ||
| proto_reflection_service | Boolean | Enables a reflection service for Protobuf services (see [ProtoReflectionService](https://grpc.github.io/grpc-java/javadoc/io/grpc/protobuf/services/ProtoReflectionService.html) and [gRPC reflection](https://github.com/grpc/grpc-java/blob/master/documentation/server-reflection-tutorial.md)). Default value is `false`. | | ||
| unframed_requests | Boolean | Enables requests that are not framed using the gRPC wire protocol. Default value is `false`. | | ||
| thread_count | int | The number of threads to keep in the `ScheduledThreadPool`. Default value is `500`. | | ||
| max_connection_count | int | The maximum number of open connections allowed. Default value is `500`. | | ||
| compression | string | The compression type applied on the client request payload. Can be `none` or `gzip`. Use `gzip` to apply GZip de-compression on the incoming request. Defaults to `none` which means no compression. | |
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.
| compression | string | The compression type applied on the client request payload. Can be `none` or `gzip`. Use `gzip` to apply GZip de-compression on the incoming request. Defaults to `none` which means no compression. | | |
| compression | string | The compression type applied to the client request payload. Valid values are `none` or `gzip`. Use `gzip` to apply GZip decompression to the incoming request. Default is `none` (no compression). | |
Signed-off-by: Zeeshan Alam <Zeeshan.Alam+fidelity@fmr.com>
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.
Thanks for updating! LGTM
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
@kolchfa-aws Please resolve conflicts. |
@alamzeeshan @kayhern Please resolve merge conflicts so we can merge the PR |
Signed-off-by: Zeeshan Alam <zeeshan.alam@fmr.com>
Resolved. |
…10196) * Documented compression option for data prepper otel-logs-source sink Signed-off-by: Zeeshan Alam <Zeeshan.Alam+fidelity@fmr.com> * Made changes as per code review comments Signed-off-by: Zeeshan Alam <Zeeshan.Alam+fidelity@fmr.com> --------- Signed-off-by: Zeeshan Alam <Zeeshan.Alam+fidelity@fmr.com> Signed-off-by: Zeeshan Alam <zeeshan.alam@fmr.com> Co-authored-by: Zeeshan Alam <Zeeshan.Alam+fidelity@fmr.com> (cherry picked from commit 26bf9dc) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…10196) (#10203) * Documented compression option for data prepper otel-logs-source sink * Made changes as per code review comments --------- (cherry picked from commit 26bf9dc) Signed-off-by: Zeeshan Alam <Zeeshan.Alam+fidelity@fmr.com> Signed-off-by: Zeeshan Alam <zeeshan.alam@fmr.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Zeeshan Alam <Zeeshan.Alam+fidelity@fmr.com>
Description
compression
option for data prepperotel-logs-source
sourcemax_request_length
optionIssues Resolved
Closes #9614
Version
all.
Frontend features
If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.