Skip to content

Conversation

@dhtclk
Copy link
Collaborator

@dhtclk dhtclk commented Nov 4, 2025

Summary

Correcting the advanced config section with documentation on extending the otel config.

Checklist

@vercel
Copy link

vercel bot commented Nov 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
clickhouse-docs Ready Ready Preview Comment Nov 5, 2025 6:44pm
3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
clickhouse-docs-jp Ignored Ignored Nov 5, 2025 6:44pm
clickhouse-docs-ru Ignored Ignored Preview Nov 5, 2025 6:44pm
clickhouse-docs-zh Ignored Ignored Preview Nov 5, 2025 6:44pm

@dhtclk dhtclk marked this pull request as ready for review November 5, 2025 17:43
@dhtclk dhtclk requested a review from a team as a code owner November 5, 2025 17:43
@gingerwizard
Copy link
Collaborator

@dhtclk

This makes no sense at all. Why would they get start how the stack started, copy the ingestion key and starting new stack which will have a different ingestion key.

We need to modify the guides such that we assume the user doesn't have a stack started. There is no copying of the ingestion key and we simply introduce and extend the receivers and in order to collect the metrics.


<Image img={copy_api_key} alt="Copy API key" size="lg"/>

## Create a local OpenTelemetry configuration {#create-otel-configuration}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything prior to this now makes no sense whatsoever.

You only define new receivers, processors, and pipelines in the custom config. The base processors (`memory_limiter`, `batch`) and exporters (`clickhouse`) are already defined—reference them by name. The custom configuration is merged with the base configuration and cannot override existing components.
:::

For more complex configurations, refer to the [default ClickStack collector configuration](https://github.com/hyperdxio/hyperdx/blob/main/docker/otel-collector/config.yaml) and the [ClickHouse exporter documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/clickhouseexporter/README.md#configuration-options).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants