Skip to content

[exporter/clickhouse] Use generic collector/config/configtls for TLS params #22805

@vlaborie

Description

@vlaborie

Component(s)

exporter/clickhouse

Is your feature request related to a problem? Please describe.

I want to use clickhouse exporter with SSL certificate client auth but only InsecureSkipVerify param is configurable in this exporter.

Describe the solution you'd like

I want the possibility to configure any TLS params supported by otel-collector configtls package with a tls map in the exporter config, eg.:

exporters:
  clickhouse:
    endpoint: tcp://127.0.0.1:9000?dial_timeout=10s&compress=lz4
    tls:
      insecure: false
      insecure_skip_verify: false
      ca_file: server.crt
      cert_file: client.crt
      key_file: client.key

This can be done by configuring TLS param of clickhouse golang driver.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions