Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust/otap-dataflow/crates/otap/src/batch_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const fn default_otap_max_size_items() -> Option<NonZeroUsize> {
}

const fn default_otap_sizer_items() -> Sizer {
Sizer::Bytes
Sizer::Items
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! (How did ...)

}

const fn default_otlp_min_size_bytes() -> Option<NonZeroUsize> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,15 @@ tests:
observation_interval: 60
signals_per_second: null
max_batch_size: 512

- name: OTLP-BATCH-OTLP
from_template:
path: test_suites/integration/templates/test_steps/df-loadgen-steps-docker.yaml
variables:
result_dir: continuous_passthrough_batch
engine_config_template: test_suites/integration/templates/configs/engine/batch/otlp-batch-otlp.yaml
loadgen_exporter_type: otlp
backend_receiver_type: otlp
observation_interval: 60
signals_per_second: null
max_batch_size: 512
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: otel_dataflow/v1
policies:
channel_capacity:
control:
node: 100
pipeline: 100
pdata: 100
engine:
telemetry:
logs:
level: info
groups:
default:
pipelines:
main:
nodes:
receiver:
type: urn:otel:receiver:otlp
config:
protocols:
grpc:
listening_addr: 0.0.0.0:4317
request_compression: gzip
wait_for_result: true
batch:
type: urn:otel:processor:batch
config:
otlp:
min_size: 8192
sizer: bytes
flush_timeout: 200ms
format: preserve
exporter:
type: urn:otel:exporter:otlp_grpc
config:
grpc_endpoint: http://{{backend_hostname}}:1235
compression_method: gzip
connections:
- from: receiver
to: batch
- from: batch
to: exporter
Loading