Skip to content

Make the ClickHouse exporter request timeout configurable #2900

Closed

Description

@mfroembgen

Summary

The OpAMP-managed and standalone OpenTelemetry Collector configurations hardcode a 5s request timeout for both ClickHouse exporters (clickhouse and clickhouse/rrweb). Deployments whose inserts legitimately need longer to be acknowledged cannot tune that deadline without replacing generated configuration.

Impact

The exporter cancels an insert attempt when the five-second context deadline expires even if ClickHouse is configured to allow the operation to run longer. This can cause avoidable export failures and retries under heavier ingestion or materialized-view workloads.

Affected configuration paths

  • OpAMP-generated collector configuration in the HyperDX API
  • Standalone collector configuration
  • Both clickhouse and clickhouse/rrweb exporters

Expected behavior

Allow deployments to configure the exporter request timeout while preserving 5s as the default for backward compatibility.

Proposed fix

Read HYPERDX_OTEL_EXPORTER_TIMEOUT through the collector's supported environment interpolation in all four exporter definitions:

timeout: '${env:HYPERDX_OTEL_EXPORTER_TIMEOUT:-5s}'

Add regression coverage for both exporters in the OpAMP-generated configuration and record patch releases for the affected packages.

An implementation is available in #2899.

Activity

  1. added a commit that references this issue on Aug 20, 2026
    d205a77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions