Skip to content

Commit

Permalink
Add batch max size, rename processor, and re-order after interval proc
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hain committed Oct 15, 2024
1 parent 92e135e commit ec987ec
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 ec987ec

Please sign in to comment.