- Managed ClickStack
- ClickStack Open Source
This guide assumes you have completed the Getting Started Guide for Managed ClickStack and have the connection credentials recorded.
1
Create a custom OpenTelemetry configuration
Create a This configuration collects system logs and metrics for OSX and Linux systems, sending the results to ClickStack. The configuration extends the ClickStack collector by adding new receivers and pipelines—you reference the existing For more details on the OpenTelemetry (OTel) configuration structure, we recommend the official guide.
custom-local-config.yaml file with the following content:clickhouse exporter and processors (memory_limiter, batch) that are already configured in the base ClickStack collector.Ingestion timestampsThis configuration adjusts timestamps at ingest, assigning an updated time value to each event. You should ideally preprocess or parse timestamps using OTel processors or operators in their log files to ensure accurate event time is retained.With this example setup, if the receiver or file processor is configured to start at the beginning of the file, all existing log entries will be assigned the same adjusted timestamp - the time of processing rather than the original event time. Any new events appended to the file will receive timestamps approximating their actual generation time.To avoid this behavior, you can set the start position to
end in the receiver configuration. This ensures only new entries are ingested and timestamped near their true arrival time.2
Start the OpenTelemetry collector
Run a standalone collector with the following command:The collector will immediately begin collecting local system logs and metrics.
3
Select your service
Select the service with Managed ClickStack from the main ClickHouse cloud landing page.
5
Explore system metrics
We can explore our metrics using charts.Navigate to the Chart Explorer via the left menu. Select the source
Metrics and Maximum as the aggregation type.For the Select a Metric menu simply type memory before selecting system.memory.utilization (Gauge).Press the run button to visualize your memory utilization over time.Note the number is returned as a floating point %. To render it more clearly, select Set number format.From the subsequent menu you can select Percentage from the Output format drop down before clicking Apply.