Before you begin
You need your application source code, a coding assistant with access to the repository, and a ClickHouse Observability destination. Choose the appropriate language SDK guide for your application; it provides the SDK packages, supported signals, and exporter settings to use.Configure your destination
- Fully managed
- Self-managed
Open Team Settings → Data → Managed Telemetry and copy your OTLP HTTP endpoint and ingestion API key. Store them in an environment file excluded from version control or in your secrets store.If your service displays the Getting Started page, you can instead select Copy prompt under Instrument with AI. Copy the prompt from Set it up with an AI agent, and set the
CLICKSTACK_OTLP_ENDPOINT and CLICKSTACK_API_KEY variables shown in that dialog. Follow the remaining review and verification steps below.Give your assistant the language guide
Open your application repository in your coding assistant, such as Claude Code, Cursor, or Codex. Copy the following prompt, replacing the placeholders with your language guide URL, deployment type, and service name. Supply the names of your environment variables rather than pasting credentials into the prompt.Review and run the application
Review the dependency, initialization, and startup changes. Check that the assistant selected the correct destination and authentication format, preserved existing instrumentation, and kept secrets out of committed files. Run your application’s existing tests, then start it with the updated command and environment. Make a request or perform an action that exercises an instrumented library. If you need telemetry for an operation that automatic instrumentation does not capture, ask the assistant to add a custom span using your SDK’s API.Verify telemetry
- Open Search in ClickHouse Observability.
- Select the appropriate logs or traces source and a time range covering your test activity.
- Filter for your service name and inspect the generated events. Check that the expected request or operation appears.
- If the SDK exports metrics, use Chart Explorer to inspect them.