Skip to content

Commit b955144

Browse files
committed
link fixes
1 parent 28619df commit b955144

File tree

12 files changed

+74
-51
lines changed

12 files changed

+74
-51
lines changed

docs/use-cases/observability/build-your-own/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,13 @@ pagination_next: null
66
description: 'Landing page building your own observability stack'
77
---
88

9+
This guide helps you build a custom observability stack using ClickHouse as the foundation. Learn how to design, implement, and optimize your observability solution for logs, metrics, and traces, with practical examples and best practices.
10+
11+
| Page | Description |
12+
|-------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
13+
| [Introduction](/use-cases/observability/introduction) | This guide is designed for users looking to build their own observability solution using ClickHouse, focusing on logs and traces. |
14+
| [Schema design](/use-cases/observability/schema-design) | Learn why users are recommended to create their own schema for logs and traces, along with some best practices for doing so. |
15+
| [Managing data](/observability/managing-data) | Deployments of ClickHouse for observability invariably involve large datasets, which need to be managed. ClickHouse offers features to assist with data management. |
16+
| [Integrating OpenTelemetry](/observability/integrating-opentelemetry) | Collecting and exporting logs and traces using OpenTelemetry with ClickHouse. |
17+
| [Using Visualization Tools](/observability/grafana) | Learn how to use observability visualization tools for ClickHouse, including HyperDX and Grafana. |
18+
| [Demo Application](/observability/demo-application) | Explore the OpenTelemetry demo application forked to work with ClickHouse for logs and traces. |

docs/use-cases/observability/build-your-own/integrating-opentelemetry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ A few important notes on this schema:
537537
- The table uses the classic [`MergeTree` engine](/engines/table-engines/mergetree-family/mergetree). This is recommended for logs and traces and should not need to be changed.
538538
- The table is ordered by `ORDER BY (ServiceName, SeverityText, toUnixTimestamp(Timestamp), TraceId)`. This means queries will be optimized for filters on `ServiceName`, `SeverityText`, `Timestamp` and `TraceId` - earlier columns in the list will filter faster than later ones e.g. filtering by `ServiceName` will be significantly faster than filtering by `TraceId`. Users should modify this ordering according to their expected access patterns - see [Choosing a primary key](/use-cases/observability/schema-design#choosing-a-primary-ordering-key).
539539
- The above schema applies `ZSTD(1)` to columns. This offers the best compression for logs. Users can increase the ZSTD compression level (above the default of 1) for better compression, although this is rarely beneficial. Increasing this value will incur greater CPU overhead at insert time (during compression), although decompression (and thus queries) should remain comparable. See [here](https://clickhouse.com/blog/optimize-clickhouse-codecs-compression-schema) for further details. Additional [delta encoding](/sql-reference/statements/create/table#delta) is applied to the Timestamp with the aim of reducing its size on disk.
540-
- Note how [`ResourceAttributes`](https://opentelemetry.io/docs/specs/otel/resource/sdk/), [`LogAttributes`](https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-attributes) and [`ScopeAttributes`](https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-instrumentationscope) are maps. Users should familiarize themselves with the difference between these. For how to access these maps and optimize accessing keys within them, see [Using maps](/use-cases/observability/integrating-opentelemetry.md).
540+
- Note how [`ResourceAttributes`](https://opentelemetry.io/docs/specs/otel/resource/sdk/), [`LogAttributes`](https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-attributes) and [`ScopeAttributes`](https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-instrumentationscope) are maps. Users should familiarize themselves with the difference between these. For how to access these maps and optimize accessing keys within them, see [Using maps](/use-cases/observability/schema-design#using-maps).
541541
- Most other types here e.g. `ServiceName` as LowCardinality, are optimized. Note the Body, although JSON in our example logs, is stored as a String.
542542
- Bloom filters are applied to map keys and values, as well as the Body column. These aim to improve query times on accessing these columns but are typically not required. See [Secondary/Data skipping indices](/use-cases/observability/schema-design#secondarydata-skipping-indices).
543543

docs/use-cases/observability/clickstack/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
slug: /use-cases/observability/clickstack/architecture
33
pagination_prev: null
44
pagination_next: null
5-
description: 'Architecture of ClickStack ClickHouse Observability Stack'
5+
description: 'Architecture of ClickStack - The ClickHouse Observability Stack'
66
title: 'Architecture'
77
---
88

docs/use-cases/observability/clickstack/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ For details on configuring the wider OTel collector, including [`receivers`](htt
369369

370370
### Modifying configuration {#modifying-otel-collector-configuration}
371371

372-
If you are managing your own OpenTelemetry Collector - such as when using the HyperDX only distribution - you are responsible for defining its configuration. We [recommend still using the official ClickStack distribution of the collector](/observability/clickstack/deployment/hyperdx-only#otel-collector) where possible, but if you choose to bring your own, ensure it includes the [ClickHouse exporter](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/clickhouseexporter).
372+
If you are managing your own OpenTelemetry Collector - such as when using the HyperDX only distribution - you are responsible for defining its configuration. We [recommend still using the official ClickStack distribution of the collector](/use-cases/observability/clickstack/deployment/hyperdx-only#otel-collector) where possible, but if you choose to bring your own, ensure it includes the [ClickHouse exporter](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/clickhouseexporter).
373373

374374
If you’re using a ClickStack distribution that includes the OpenTelemetry Collector - such as the [All-in-One](/use-cases/observability/clickstack/deployment/all-in-one), [Docker Compose](/use-cases/observability/clickstack/deployment/docker-compose), or [Helm](/use-cases/observability/clickstack/deployment/helm) chart - you can override the default configuration in the following ways:
375375

docs/use-cases/observability/clickstack/deployment/docker-compose.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,21 +117,19 @@ This distribution can be used with ClickHouse Cloud. Users should:
117117
otel-collector:
118118
image: ${OTEL_COLLECTOR_IMAGE_NAME}:${IMAGE_VERSION}
119119
environment:
120-
CLICKHOUSE_ENDPOINT: '<CLICKHOUSE_SERVER_ENDPOINT>' # https endpoint here
121-
CLICKHOUSE_USER: '<CLICKHOUSE_USER>'
122-
CLICKHOUSE_PASSWORD: '<CLICKHOUSE_PASSWORD>'
123-
HYPERDX_LOG_LEVEL: ${HYPERDX_LOG_LEVEL}
120+
CLICKHOUSE_ENDPOINT: '<CLICKHOUSE_SERVER_ENDPOINT>' # https endpoint here
121+
CLICKHOUSE_USER: '<CLICKHOUSE_USER>'
122+
CLICKHOUSE_PASSWORD: '<CLICKHOUSE_PASSWORD>'
123+
HYPERDX_LOG_LEVEL: ${HYPERDX_LOG_LEVEL}
124124
ports:
125-
- '13133:13133' # health_check extension
126-
- '24225:24225' # fluentd receiver
127-
- '4317:4317' # OTLP gRPC receiver
128-
- '4318:4318' # OTLP http receiver
129-
- '8888:8888' # metrics extension
125+
- '13133:13133' # health_check extension
126+
- '24225:24225' # fluentd receiver
127+
- '4317:4317' # OTLP gRPC receiver
128+
- '4318:4318' # OTLP http receiver
129+
- '8888:8888' # metrics extension
130130
restart: always
131131
networks:
132-
- internal
133-
depends_on:
134-
- ch-server
132+
- internal
135133
```
136134

137135
The `CLICKHOUSE_SERVER_ENDPOINT` should be the ClickHouse Cloud HTTPS endpoint, including the port `8443` e.g. `https://mxl4k3ul6a.us-east-2.aws.clickhouse.com:8443`

docs/use-cases/observability/clickstack/deployment/helm.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: 'Deploying ClickStack with Helm - The ClickHouse Observability Stac
99
import Image from '@theme/IdealImage';
1010
import hyperdx_24 from '@site/static/images/use-cases/observability/hyperdx-24.png';
1111

12-
The helm chart for HyperDX can be found [here](git@github.com:hyperdxio/helm-charts.git) and is the **recommended** method for production deployments.
12+
The helm chart for HyperDX can be found [here](https://github.com/hyperdxio/helm-charts) and is the **recommended** method for production deployments.
1313

1414
By default, the Helm chart provisions all core components, including:
1515

@@ -68,11 +68,7 @@ Verify the installation:
6868
kubectl get pods -l "app.kubernetes.io/name=hdx-oss-v2"
6969
```
7070

71-
When all pods are ready proceed. To debug failed installs:
72-
73-
```bash
74-
helm install my-hyperdx hyperdx/hdx-oss-v2 --debug --dry-run
75-
```
71+
When all pods are ready proceed.
7672

7773
### Forward ports {#forward-ports}
7874

@@ -191,6 +187,12 @@ hyperdx:
191187

192188
## Using ClickHouse Cloud {#using-clickhouse-cloud}
193189

190+
If using ClickHouse Cloud users disable the ClickHouse instance deployed by the Helm chart:
191+
192+
```bash
193+
helm install myrelease hyperdx-helm --set clickhouse.enabled=false --set clickhouse.persistence.enabled=false
194+
```
195+
194196

195197
## Production notes {#production-notes}
196198

docs/use-cases/observability/clickstack/index.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ description: 'Landing page for the ClickHouse Observability Stack'
1010

1111
| Section | Description |
1212
|---------|-------------|
13-
| [Overview](overview.md) | Introduction to ClickStack and its key features |
14-
| [Getting Started](getting-started.md) | Quick start guide and basic setup instructions |
15-
| [Architecture](architecture.md) | System architecture and components overview |
16-
| [Configuration](config.md) | Detailed configuration options and settings |
17-
| [Sending Data](sending-data.md) | Guidelines for sending data to ClickStack |
18-
| [Search](search.md) | How to search and query your observability data |
19-
| [Production](production.md) | Best practices for production deployment |
20-
| [SDKs](sdks/) | Software Development Kits for various languages |
21-
| [Example Datasets](example-datasets/) | Sample datasets and use cases |
22-
| [Deployment](deployment/) | Deployment guides and options |
23-
13+
| [Overview](/use-cases/observability/clickstack/overview) | Introduction to ClickStack and its key features |
14+
| [Getting Started](/use-cases/observability/clickstack/getting-started) | Quick start guide and basic setup instructions |
15+
| [Example Datasets](/use-cases/observability/clickstack/sample-datasets) | Sample datasets and use cases |
16+
| [Architecture](/use-cases/observability/clickstack/architecture) | System architecture and components overview |
17+
| [Deployment](/use-cases/observability/clickstack/deployment) | Deployment guides and options |
18+
| [Configuration](/use-cases/observability/clickstack/config) | Detailed configuration options and settings |
19+
| [Ingesting Data](/use-cases/observability/clickstack/ingesting-data) | Guidelines for ingesting data to ClickStack |
20+
| [Search](/use-cases/observability/clickstack/search) | How to search and query your observability data |
21+
| [Production](/use-cases/observability/clickstack/production) | Best practices for production deployment |
22+
| [SDKs](/use-cases/observability/clickstack/sdks) | Software Development Kits for various languages |
2423

docs/use-cases/observability/clickstack/sending-data.md renamed to docs/use-cases/observability/clickstack/ingesting-data.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
slug: /use-cases/observability/clickstack/sending-data
3-
title: 'Sending data'
4-
sidebar_label: 'Sending data'
2+
slug: /use-cases/observability/clickstack/ingesting-data
3+
title: 'Ingesting data'
4+
sidebar_label: 'Ingesting data'
55
pagination_prev: null
66
pagination_next: null
7-
description: 'Sending data to ClickStack'
7+
description: 'Ingesting data to ClickStack'
88
---
99

1010
All data is ingested into ClickStack via the **OpenTelemetry Collector**, which acts as the primary entry point for logs, metrics, traces, and session data.

docs/use-cases/observability/clickstack/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ClickStack consists of three core components:
4646

4747
These components can be deployed independently or together. A browser-hosted version of the HyperDX UI is also available, allowing users to connect to existing ClickHouse deployments without additional infrastructure.
4848

49-
To get started, visit the [Getting Started guide](/use-cases/observability/clickstack/getting-started). You can also explore documentation on [deployment](/use-cases/observability/clickstack/deployment), [scaling](/use-cases/observability/clickstack/scaling), and [production best practices](/use-cases/observability/clickstack/production).
49+
To get started, visit the [Getting Started guide](/use-cases/observability/clickstack/getting-started) before loading a [sample dataset](/use-cases/observability/clickstack/sample-datasets). You can also explore documentation on [deployment options](/use-cases/observability/clickstack/deployment) and [production best practices](/use-cases/observability/clickstack/production).
5050

5151
### Principles {#clickstack-principles}
5252

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
slug: /use-cases/observability/clickstack/sdks
3+
pagination_prev: null
4+
pagination_next: null
5+
description: 'Language SDKs for ClickStack - The ClickHouse Observability Stack'
6+
title: 'SDKs'
7+
---
8+

0 commit comments

Comments
 (0)