ClickStack’s Collector works differently: you do not edit its main config. You mount a custom file that is merged into it, which can add components and pipelines but cannot change existing ones (ClickStack Collector). So Tomosu gets its own pipelines, fed by the same OTLP receiver.
First do the four steps every tool shares: make the engine reachable from the Collector, copy the exporter block from Setup health, set service.version on your services and build code indexes in CI.
What do I add?
- Create
custom-config.yamlwith the exporter and three new pipelines:
Replaceexporters: otlp/tomosu: endpoint: tomosu:4317 # … the rest of the block from Setup health service: pipelines: traces/tomosu: { receivers: [<otlp receiver>], exporters: [otlp/tomosu] } metrics/tomosu: { receivers: [<otlp receiver>], exporters: [otlp/tomosu] } logs/tomosu: { receivers: [<otlp receiver>], exporters: [otlp/tomosu] }<otlp receiver>with the OTLP receiver’s name in the default ClickStack Collector config. - Mount it at
/etc/otelcol-contrib/custom.config.yamlin the Collector container. - Set
CUSTOM_OTELCOL_CONFIG_FILE=/etc/otelcol-contrib/custom.config.yamlon that container, then restart it.
One receiver can feed several pipelines, so ClickHouse keeps getting everything through ClickStack’s own pipelines.
Which address and ports does Tomosu use?
ClickStack’s Collector holds 4317/4318. On the same host, move Tomosu to 14317/14318 with run.otlp_grpc_port and run.otlp_http_port, and point the exporter at that port.
How do I check it works?
Check: data still shows in HyperDX, and Setup health shows data arriving. If the Collector fails to start, the receiver name in step 1 is the usual cause.