Skip to content

Commit

Permalink
Merge pull request #26 from clhain/25_batch_processor_fixes
Browse files Browse the repository at this point in the history
Add batch max size, rename processor, and re-order after interval proc
  • Loading branch information
clhain authored Oct 15, 2024
2 parents 92e135e + ec987ec commit 39e4b43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/ast_defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ pipelines:
# detail.
metrics/f5-datafabric:
#receivers list are generated via the config helper script
processors: [batch, interval/f5-datafabric, attributes/f5-datafabric]
processors: [interval/f5-datafabric, attributes/f5-datafabric, batch/f5-datafabric]
exporters: [otlp/f5-datafabric, debug/bigip]
3 changes: 2 additions & 1 deletion services/otel_collector/defaults/bigip-scraper-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
receivers: ${file:/etc/otel-collector-config/receivers.yaml}

processors:
batch:
batch/f5-datafabric:
send_batch_max_size: 8192
# Only export data to f5 (if enabled) every 300s
interval/f5-datafabric:
interval: 300s
Expand Down

0 comments on commit 39e4b43

Please sign in to comment.