Sending OpenTelemetry data
The ClickStack OpenTelemetry collector is included in most ClickStack distributions, including:Installing ClickStack OpenTelemetry collector
The ClickStack OTel collector can also be deployed standalone, independent of other components of the stack. If you’re using the ClickStack UI only distribution, you’re responsible for delivering data into ClickHouse yourself. This can be done by:- Running your own OpenTelemetry collector and pointing it at ClickHouse - see below.
- Sending directly to ClickHouse using alternative tooling, such as Vector, Fluentd etc, or even the default OTel contrib collector distribution.
We recommend using the ClickStack OpenTelemetry collectorThis allows you to benefit from standardized ingestion, enforced schemas, and out-of-the-box compatibility with the ClickStack UI. Using the default schema enables automatic source detection and preconfigured column mappings.
Sending data to the collector
To send data to ClickStack, point your OpenTelemetry instrumentation to the following endpoints made available by the OpenTelemetry collector:- HTTP (OTLP):
http://localhost:4318 - gRPC (OTLP):
localhost:4317
OTEL_EXPORTER_OTLP_ENDPOINT environment variable in your application:
Team Settings → API Keys.
For language SDKs, this can then either be set by an init function or via anOTEL_EXPORTER_OTLP_HEADERS environment variable e.g.:
<YOUR_API_INGESTION_KEY>.