Vivek Malapaka
07/17/2025, 10:06 AMreceivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
googlecloudpubsub:
project: <gcp-project-id>
subscription: projects/<gcp-project-id>/subscriptions/<pubsub-topic's-subscription>
encoding: raw_text
processors:
batch: {}
resource/env:
attributes:
- key: deployment.environment
value: prod # can be dev, prod, staging etc. based on your environment
action: upsert
exporters:
clickhouselogsexporter:
dsn: <tcp://clickhouse:9000/>
timeout: 5s
sending_queue:
queue_size: 100
retry_on_failure:
enabled: true
initial_interval: 5s
max_interval: 30s
max_elapsed_time: 300s
service:
pipelines:
logs:
receivers: [otlp, googlecloudpubsub]
processors: [batch, resource/env]
exporters: [clickhouselogsexporter]
This is the error thrown after running the config file in the background!
Error: failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s): error decoding 'exporters': unknown type: "clickhouselogsexporter" for id: "clickhouselogsexporter" (valid values: [awsxray logicmonitor mezmo sapm syslog googlemanagedprometheus prometheus pulsar rabbitmq splunk_hec awscloudwatchlogs azuremonitor coralogix otelarrow opensearch signalfx tencentcloud_logservice debug otlp elasticsearch honeycombmarker opencensus zipkin file influxdb kafka awsemf azuredataexplorer cassandra datadog doris loadbalancing awskinesis carbon googlecloud logzio loki sumologic nop clickhouse dataset googlecloudpubsub prometheusremotewrite otlphttp alibabacloud_logservice awss3 sentry])Burak Kurt
07/17/2025, 10:24 AMVivek Malapaka
07/17/2025, 10:35 AMBurak Kurt
07/17/2025, 12:54 PMopen-telemetry-contrib mentioned in the docs.
wget <https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/>*v0.116.0*/otelcol-contrib_*0.116.0*_linux_amd64.deb
However contrib distro only have clickhouseexpoter . Signoz distro has clickhouselogexporter.Burak Kurt
07/17/2025, 12:55 PMVivek Malapaka
07/18/2025, 3:46 AM