Skip to content

[exporter/splunkhec] Remove deprecated batcher config#47737

Open
dmitryax wants to merge 1 commit intoopen-telemetry:mainfrom
dmitryax:splunkhec-remove-deprecated-batcher
Open

[exporter/splunkhec] Remove deprecated batcher config#47737
dmitryax wants to merge 1 commit intoopen-telemetry:mainfrom
dmitryax:splunkhec-remove-deprecated-batcher

Conversation

@dmitryax
Copy link
Copy Markdown
Member

@dmitryax dmitryax commented Apr 18, 2026

Remove batcher field from the configuration interface which has been deprecated for a while. Users should use sending_queue::batch instead.

Migrating from batcher to sending_queue::batch

The batcher field in exporter/splunk_hec has been removed. Replace it with sending_queue::batch.

Before

  exporters:
    splunk_hec:
      token: "..."
      endpoint: "https://splunk:8088"
      batcher:
        enabled: true
        flush_timeout: 200ms
        sizer: requests
        min_size: 100
        max_size: 1000

After

  exporters:
    splunk_hec:
      token: "..."
      endpoint: "https://splunk:8088"
      sending_queue:
        batch:
          flush_timeout: 200ms
          sizer: requests
          min_size: 100
          max_size: 1000

If you previously used batcher without an explicit sending_queue, mark the queue as blocking by setting wait_for_result to true.

  sending_queue:
    wait_for_result: true
    batch:

Remove DeprecatedBatchConfig and the batcher mapstructure field.
Users should migrate to sending_queue::batch.

Assisted-by: Claude Opus 4.6
@dmitryax dmitryax force-pushed the splunkhec-remove-deprecated-batcher branch from 9cc8d89 to c54b0a5 Compare April 18, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants