Skip to content

About

Hands-on labs for observability on ClickHouse: ClickStack, HyperDX and OpenTelemetry (EN/KO)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

298 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ClickStack & HyperDX Hands-on Labs

English | ํ•œ๊ตญ์–ด

English

Observability on ClickHouse: OpenTelemetry ingestion, the ClickStack/HyperDX UI, and ClickHouse watching itself. Growing โ€” see the roadmap below.

Browse the labs โ†’

This repository was split out of litkhai/clickhouse-hols on the pre-split-2026-10 tag, with history. The last version of these labs in the original repository: https://github.com/litkhai/clickhouse-hols/tree/pre-split-2026-10

๐Ÿ”ญ Labs (labs/)

Lab What it covers
labs/ch2otel ClickHouse system metrics to OpenTelemetry, viewed in HyperDX
labs/elastic-migration Migrating from Elastic: ingest, data, dashboards
labs/apm-workflows The workflows an APM team relies on, on Managed ClickStack: slow transaction โ†’ the SQL behind it, with an in-database telemetry generator
labs/game-ops A game backend and a game server fleet generated inside a Cloud service: a patch-day incident followed through ClickStack search, traces, dashboards and alerts
labs/privatelink-gateway Validation plan, Terraform and checks, run end to end on 2026-10-14 (V1โ€“V9, K1โ€“K6), K1โ€“K4 again on 2026-11-29, V4, V8 with its overload control and K6 on 2026-11-30: OTel from many VPCs across accounts through one gateway collector and one PrivateLink endpoint to a Cloud service closed to the internet, with an optional Kafka buffer
labs/korean-log-search Korean log search in ClickStack: why ๊ฒฐ์ œ finds nothing on the default body index, the two settings that fix it (an ngrams(2) index and Use Text Index โ†’ Force enable) and their measured cost, run on Managed ClickStack on 2026-11-02 (K1โ€“K9)
labs/log-pattern-exclusion Kibana's Filter out pattern in ClickStack: what Lucene exclusions become in SQL, why stacked phrases also remove patterns you meant to keep, and one regex per Event Patterns template, kept in a noise list (verified on 2.39.1, 2026-11-02)
labs/promql PromQL in HyperDX on a local ClickStack 2.42.0: turn on ClickHouse's TimeSeries engine and Prometheus HTTP API, fill the table from a refreshable MV, register a PromQL source, check rate and histogram_quantile with SQL and HTTP
labs/process-down-alerts Does a ClickStack alert fire when one host's process series stops? Five tile alerts on local 2.42.0: a group-by alert stays silent, a SQL tile against an expected host list fires in 76 s (verified 2026-11-06)
labs/common-fields Adoption guide for the common fields (service taxonomy, host, environment): where apps and hosts set them, a gateway rename from EC2 tags, and ClickStack tables with them as columns in the sort key; schema tested in clickhouse local, rename in otelcol-contrib 0.155.0, demo on Managed ClickStack (2026-11-06)
labs/threshold-alerts Host-metric threshold alerts in the chart builder: one rule for every host (a notification per host) and one for a server group only, plus consecutive windows; step-by-step with screens, verified on Managed ClickStack (2026-11-11)
labs/hostmetrics-volume Linux and Windows EC2: data points and wire bytes per host at 1-minute hostmetrics, four ways to watch a Windows game-server process stop (process scraper, perfcounters, windows_service, a check script) and one gateway behind an endpoint service (verified 2026-11-06)
labs/llm-serving-observability Self-hosted LLM serving (vLLM behind LiteLLM) observed with ClickStack, runnable without a GPU: the OTel Collector configuration, an nvidia-smi โ†’ OTLP pusher, LiteLLM gateway-metric cardinality with and without the attribute allowlist, and the 32-tile HyperDX dashboard imported onto hand-made sources
labs/vault-audit HashiCorp Vault OSS audit trail and HA metrics in ClickStack: a three-node Raft cluster's audit files (written by whichever node is active) through file_log and OTTL into OTel logs โ€” TraceId per request, issuance joined to later use on HMAC'd accessors, no secret in clear โ€” plus per-node metrics with unauthenticated_metrics_access; failover checked (verified locally and on Managed ClickStack, 2026-11-06)
labs/managed-rbac How finely Managed ClickStack splits access per game, user and column: ClickStack roles (resource, name/tag/ID, the API's beta row conditions), the per-user JWT identity search uses and the one shared identity alerts use, row and masking policies on each โ€” and where alerts and Map keys leak (verified on Managed ClickStack with an Admin and a test user, 2026-11-07)
labs/sso-role-sync SAML SSO users straight into Managed ClickStack without an admin editing each account: what each system role grants (only Service Reader gives read-only SQL console, on every service), Member + a scheduled Cloud API job that adds a custom role scoped to one service, and a ClickStack role as the team default (roles and dry run on ClickHouse Cloud 26.8, 2026-11-24; member update and SAML login not run)
labs/vector-route-dual-write Vector already ships every Kubernetes log to Loki: route two Kong gateways and one API into their own ClickHouse tables from the same Vector, leave Loki as it is, and see what each sink buffer does to Loki while ClickHouse is down (block stalls the whole source, drop_newest drops ClickHouse rows, a disk buffer keeps both); one bad row drops a whole batch (verified on local k3d, Vector 0.61.0, ClickStack 2.44.0, 2026-11-13)
labs/sentry-migration Game launcher, client and mobile app keep their Sentry SDK and change only the DSN: a small bridge writes errors, release-health sessions and minidump receipts to ClickStack as logs and tees every request to the existing Sentry; crash-free sessions by release, error groups and a crash-spike alert; what does not carry over (issue workflow, symbolication) (verified on local Docker, ClickStack 2.39.1, Sentry SDK Python 3.0.0 / Node 11.17.0, 2026-11-25)
labs/vector-gke-psc Vector 0.44 on GKE (private nodes, Cloud NAT) adds a ClickHouse branch next to an existing grok + Loki pipeline: only an API allow list from two Kong gateways (nginx-style text) and from JSON/text API pods, no client IPs or query strings, sent to ClickHouse Cloud on GCP over Private Service Connect with global access (Seoul GKE, us-central1 service), public path closed, Cloud NAT not used; PSC steps with screenshots (verified on GKE 1.36.4, ClickHouse Cloud 26.6, 2026-11-18)

๐ŸŽ“ Workshops (workshops/)

Lab What it covers
workshops/o11y-vector-ai Observability with ClickStack, Vector and OpenTelemetry
workshops/observability-waf WAF observability across a multi-cloud MSA

๐Ÿงฉ OTel profiles (otel-profiles/)

Composable collector configuration, one fragment per class of machine โ€” what to collect from a GPU node, a bare-metal server with a BMC, a KVM hypervisor or a vSphere cluster. Merged into ClickStack's own config, or run in a sidecar when ClickStack's collector build lacks the receiver.

otel-profiles linux-host ยท windows-host ยท gpu-nvidia ยท baremetal-node ยท virt-kvm ยท virt-vsphere ยท mysql ยท aws-rds-mysql

๐Ÿงฐ ClickStack config (clickstack-config/)

Sources, dashboards and alerts as one Terraform configuration, switched between self-hosted and Cloud by environment alone.

clickstack-config log/trace/metric sources, a dashboard, an alert and a webhook

The local stack and the Cloud target every lab above runs against, with a readiness check and an end-to-end telemetry check, are in _base/.

๐Ÿ—บ Roadmap

Planned โ€” not written yet.

Path Plan
labs/otel-schema otel_logs, otel_traces, otel_metrics_*: layout, sort keys, attribute Map/JSON
labs/ingestion OTel Collector ClickHouse exporter, batching, async insert, sampling
labs/hyperdx-sources Log/Trace/Metric source setup and required mappings
labs/schema-tuning Codecs, TTL, skip indexes, materialized attributes, cost
labs/dashboards-alerts Dashboards, alerts, search syntax
labs/clickstack-cloud Managed ClickStack/HyperDX in ClickHouse Cloud

๐Ÿ”— Related repositories

Repository What it is
litkhai/clickhouse-hols Core ClickHouse hands-on labs

โœ… Repository checks

Current state and what still needs a re-run: STATUS.md.

git config core.hooksPath .githooks
python3 .github/scripts/check_links.py
./.github/scripts/check_syntax.sh
pip install --quiet markdown && python3 .github/scripts/build_site.py && git diff --exit-code -- docs/labs.json

docs/labs.json is the one committed file under docs/: the labs whose lab.yaml sets web: true, for the notes site, which fetches it from main. Keys and categories: tools/lab.schema.md. The last command fails if the committed file is out of date โ€” commit what it wrote.

๐Ÿ“ License

MIT. Labs install ClickHouse and other software at run time under their own licences.


ํ•œ๊ตญ์–ด

ClickHouse ๊ธฐ๋ฐ˜ ๊ด€์ธก์„ฑ ์‹ค์Šต์ž…๋‹ˆ๋‹ค. OpenTelemetry ์ˆ˜์ง‘, ClickStack/HyperDX UI, ๊ทธ๋ฆฌ๊ณ  ClickHouse๊ฐ€ ์Šค์Šค๋กœ๋ฅผ ๊ด€์ธกํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋‹ค๋ฃน๋‹ˆ๋‹ค. ๊ณ„์† ๋Š˜์–ด๋‚  ์˜ˆ์ •์ด๋ฉฐ ์•„๋ž˜ ๋กœ๋“œ๋งต์„ ์ฐธ๊ณ ํ•˜์„ธ์š”.

์‹ค์Šต ๋‘˜๋Ÿฌ๋ณด๊ธฐ โ†’

์ด ์ €์žฅ์†Œ๋Š” litkhai/clickhouse-hols์˜ pre-split-2026-10 ํƒœ๊ทธ ์‹œ์ ์—์„œ ํžˆ์Šคํ† ๋ฆฌ์™€ ํ•จ๊ป˜ ๋ถ„๋ฆฌํ–ˆ์Šต๋‹ˆ๋‹ค. ์›๋ž˜ ์ €์žฅ์†Œ์— ์žˆ๋˜ ๋งˆ์ง€๋ง‰ ๋ฒ„์ „: https://github.com/litkhai/clickhouse-hols/tree/pre-split-2026-10

๐Ÿ”ญ ์‹ค์Šต (labs/)

์‹ค์Šต ๋‚ด์šฉ
labs/ch2otel ClickHouse ์‹œ์Šคํ…œ ์ง€ํ‘œ๋ฅผ OpenTelemetry๋กœ ๋ณ€ํ™˜ํ•ด HyperDX์—์„œ ์กฐํšŒ
labs/elastic-migration Elastic์—์„œ ์ด์ „: ์ž…์ˆ˜, ๋ฐ์ดํ„ฐ, ๋Œ€์‹œ๋ณด๋“œ
labs/apm-workflows APM ํŒ€์ด ๋งค์ผ ์“ฐ๋Š” ์—…๋ฌด ํ๋ฆ„์„ Managed ClickStack์—์„œ: ๋А๋ฆฐ ํŠธ๋žœ์žญ์…˜ โ†’ ๊ทธ ๋’ค์˜ SQL, DB ์•ˆ์—์„œ ๋„๋Š” ํ…”๋ ˆ๋ฉ”ํŠธ๋ฆฌ ์ƒ์„ฑ๊ธฐ
labs/game-ops Cloud ์„œ๋น„์Šค ์•ˆ์—์„œ ๋งŒ๋“œ๋Š” ๊ฒŒ์ž„ ๋ฐฑ์—”๋“œ์™€ ๊ฒŒ์ž„ ์„œ๋ฒ„: ํŒจ์น˜ ๋‚  ์žฅ์• ๋ฅผ ClickStack ๊ฒ€์ƒ‰ยทtraceยท๋Œ€์‹œ๋ณด๋“œยท์•Œ๋ฆผ์œผ๋กœ ๋”ฐ๋ผ๊ฐ€๊ธฐ
labs/privatelink-gateway ๊ฒ€์ฆ ๊ณ„ํš, Terraform, ๊ฒ€์ฆ ์Šคํฌ๋ฆฝํŠธ. 2026-10-14์— ์ฒ˜์Œ๋ถ€ํ„ฐ ๋๊นŒ์ง€ ์‹คํ–‰(V1โ€“V9, K1โ€“K6), 2026-11-29์— K1โ€“K4 ์žฌ์‹คํ–‰, 2026-11-30์— V4, V8(๊ณผ๋ถ€ํ•˜ ๋Œ€์กฐ ํฌํ•จ), K6 ์žฌ์‹คํ–‰: ์—ฌ๋Ÿฌ ๊ณ„์ •์˜ ์—ฌ๋Ÿฌ VPC์—์„œ ๋ณด๋‚ธ OTel์„ gateway Collector ํ•˜๋‚˜์™€ PrivateLink endpoint ํ•˜๋‚˜๋กœ, ์ธํ„ฐ๋„ท์— ๋‹ซํžŒ Cloud ์„œ๋น„์Šค์— ๋ณด๋ƒ„, Kafka ๋ฒ„ํผ ์„ ํƒ์ง€ ํฌํ•จ
labs/korean-log-search ClickStack ํ•œ๊ตญ์–ด ๋กœ๊ทธ ๊ฒ€์ƒ‰: ๊ธฐ๋ณธ Body ์ƒ‰์ธ์—์„œ ๊ฒฐ์ œ๊ฐ€ 0๊ฑด์ธ ์ด์œ , ๊ณ ์น˜๋Š” ์„ค์ • ๋‘ ๊ฐ€์ง€(ngrams(2) ์ƒ‰์ธ, Use Text Index โ†’ Force enable)์™€ ์ธก์ •ํ•œ ๋Œ€๊ฐ€. 2026-11-02 Managed ClickStack์—์„œ ์‹คํ–‰(K1โ€“K9)
labs/log-pattern-exclusion ClickStack์—์„œ Kibana์˜ Filter out pattern ๋Œ€์‹ : Lucene ์ œ์™ธ๊ฐ€ ์–ด๋–ค SQL์ด ๋˜๋Š”์ง€, ๋ฌธ๊ตฌ๋ฅผ ๊ฒน์น˜๋ฉด ๋‚จ๊ฒจ์•ผ ํ•  ํŒจํ„ด๊นŒ์ง€ ์™œ ์ง€์›Œ์ง€๋Š”์ง€, Event Patterns ํ…œํ”Œ๋ฆฟ๋งˆ๋‹ค ์ •๊ทœ์‹ ํ•˜๋‚˜์™€ ๋…ธ์ด์ฆˆ ๋ชฉ๋ก ํ…Œ์ด๋ธ” (2.39.1์—์„œ ๊ฒ€์ฆ, 2026-11-02)
labs/promql ๋กœ์ปฌ ClickStack 2.42.0์—์„œ HyperDX๋กœ PromQL: ClickHouse TimeSeries ์—”์ง„๊ณผ Prometheus HTTP API๋ฅผ ์ผœ๊ณ , ๋ฆฌํ”„๋ ˆ์‹œ MV๋กœ ํ…Œ์ด๋ธ”์„ ์ฑ„์šฐ๊ณ , PromQL ์†Œ์Šค๋ฅผ ๋“ฑ๋กํ•ด rate์™€ histogram_quantile์„ SQL๊ณผ HTTP๋กœ ํ™•์ธ
labs/process-down-alerts ํ˜ธ์ŠคํŠธ ํ•˜๋‚˜์˜ ํ”„๋กœ์„ธ์Šค ์‹œ๊ณ„์—ด์ด ๋Š๊ธฐ๋ฉด ClickStack ์•Œ๋ฆผ์ด ์šธ๋ฆฌ๋Š”๊ฐ€: ๋กœ์ปฌ 2.42.0์—์„œ ํƒ€์ผ ์•Œ๋ฆผ ๋‹ค์„ฏ ๊ฐ€์ง€ โ€” group by ์•Œ๋ฆผ์€ ์šธ๋ฆฌ์ง€ ์•Š๊ณ , ๊ธฐ๋Œ€ ํ˜ธ์ŠคํŠธ ๋ชฉ๋ก ๋Œ€๋น„ SQL ํƒ€์ผ์€ 76์ดˆ ๋’ค ์šธ๋ฆผ (2026-11-06 ๊ฒ€์ฆ)
labs/common-fields ๊ณตํ†ต ํ•„๋“œ(์„œ๋น„์Šค ๋ถ„๋ฅ˜, ํ˜ธ์ŠคํŠธ, ํ™˜๊ฒฝ) ์ ์šฉ ๊ฐ€์ด๋“œ: ์•ฑ๊ณผ ํ˜ธ์ŠคํŠธ๊ฐ€ ๋„ฃ๋Š” ๊ณณ, EC2 ํƒœ๊ทธ๋ฅผ gateway์—์„œ ํ‘œ์ค€ ์ด๋ฆ„์œผ๋กœ, ๊ทธ ํ•„๋“œ๋ฅผ ์ปฌ๋Ÿผ์œผ๋กœ ์ •๋ ฌ ํ‚ค์— ๋‘” ClickStack ํ…Œ์ด๋ธ”. ์Šคํ‚ค๋งˆ๋Š” clickhouse local, ์ด๋ฆ„ ๋ฐ”๊พธ๊ธฐ๋Š” otelcol-contrib 0.155.0, ๋ฐ๋ชจ๋Š” Managed ClickStack์—์„œ ํ™•์ธ (2026-11-06)
labs/threshold-alerts ์ฐจํŠธ ๋นŒ๋”๋กœ ๋งŒ๋“œ๋Š” ํ˜ธ์ŠคํŠธ ๋ฉ”ํŠธ๋ฆญ ์ž„๊ณ„์น˜ ์•Œ๋ฆผ: ๊ทœ์น™ ํ•˜๋‚˜๋กœ ์ „์ฒด ํ˜ธ์ŠคํŠธ(ํ˜ธ์ŠคํŠธ๋งˆ๋‹ค ์•Œ๋ฆผ), ํŠน์ • ์„œ๋ฒ„๊ตฐ๋งŒ, ์—ฐ์† ๊ตฌ๊ฐ„๊นŒ์ง€. ํ™”๋ฉด๊ณผ ํ•จ๊ป˜ ๋‹จ๊ณ„๋ณ„๋กœ, Managed ClickStack์—์„œ ํ™•์ธ (2026-11-11)
labs/hostmetrics-volume LinuxยทWindows EC2: 1๋ถ„ hostmetrics์˜ ํ˜ธ์ŠคํŠธ๋‹น data point์™€ ์ „์†ก ๋ฐ”์ดํŠธ, Windows ๊ฒŒ์ž„ ์„œ๋ฒ„ ํ”„๋กœ์„ธ์Šค ์ค‘์ง€๋ฅผ ๋ณด๋Š” ๋„ค ๋ฐฉ๋ฒ•(process scraper, perfcounters, windows_service, ํ™•์ธ ์Šคํฌ๋ฆฝํŠธ), endpoint service ๋’ค์˜ gateway ํ•˜๋‚˜ (2026-11-06 ๊ฒ€์ฆ)
labs/llm-serving-observability LiteLLM ๋’ค์˜ vLLM์„ ClickStack์œผ๋กœ ๊ด€์ธก, GPU ์—†์ด ์‹คํ–‰: OTel Collector ์„ค์ •, nvidia-smi โ†’ OTLP ํ‘ธ์…”, ์†์„ฑ ํ—ˆ์šฉ ๋ชฉ๋ก ์œ ๋ฌด์— ๋”ฐ๋ฅธ LiteLLM ๊ฒŒ์ดํŠธ์›จ์ด ๋ฉ”ํŠธ๋ฆญ ์นด๋””๋„๋ฆฌํ‹ฐ, ์†์œผ๋กœ ๋งŒ๋“  ์†Œ์Šค์— ๊ฐ€์ ธ์˜จ HyperDX ๋Œ€์‹œ๋ณด๋“œ(ํƒ€์ผ 32๊ฐœ)
labs/vault-audit HashiCorp Vault OSS ๊ฐ์‚ฌ ๊ธฐ๋ก๊ณผ HA ๋ฉ”ํŠธ๋ฆญ์„ ClickStack์—์„œ: Raft 3๋…ธ๋“œ ํด๋Ÿฌ์Šคํ„ฐ์˜ ๊ฐ์‚ฌ ํŒŒ์ผ(๊ทธ๋•Œ active์ธ ๋…ธ๋“œ๊ฐ€ ์”€)์„ file_log์™€ OTTL๋กœ OTel ๋กœ๊ทธ๋กœ โ€” ์š”์ฒญ๋งˆ๋‹ค TraceId, HMAC ์ฒ˜๋ฆฌ๋œ accessor๋กœ ๋ฐœ๊ธ‰๊ณผ ์ดํ›„ ์‚ฌ์šฉ ์—ฐ๊ฒฐ, ํ‰๋ฌธ ์‹œํฌ๋ฆฟ ์—†์Œ โ€” ๊ทธ๋ฆฌ๊ณ  unauthenticated_metrics_access๋กœ ๋…ธ๋“œ๋ณ„ ๋ฉ”ํŠธ๋ฆญ, ์žฅ์•  ์ „ํ™˜ ๊ฒ€์‚ฌ(2026-11-06 ๋กœ์ปฌ๊ณผ Managed ClickStack์—์„œ ๊ฒ€์ฆ)
labs/managed-rbac Managed ClickStack ์ ‘๊ทผ ๊ถŒํ•œ์„ ๊ฒŒ์ž„ยท์‚ฌ์šฉ์žยท์—ด ๋‹จ์œ„๋กœ ์–ด๋””๊นŒ์ง€ ๋‚˜๋ˆŒ ์ˆ˜ ์žˆ๋‚˜: ClickStack ์—ญํ• (๋ฆฌ์†Œ์Šค, ์ด๋ฆ„ยทํƒœ๊ทธยทID, API์˜ beta ํ–‰ ์กฐ๊ฑด), ๊ฒ€์ƒ‰์ด ์“ฐ๋Š” ์‚ฌ์šฉ์ž๋ณ„ JWT ์‹ ์›๊ณผ ์•Œ๋ฆผ์ด ์“ฐ๋Š” ๊ณต์šฉ ์‹ ์› ํ•˜๋‚˜, ๊ฐ๊ฐ์— ๋Œ€ํ•œ rowยทmasking policy, ๊ทธ๋ฆฌ๊ณ  ์•Œ๋ฆผ๊ณผ Map ํ‚ค๋กœ ์ƒˆ๋Š” ์ง€์  (Admin๊ณผ ์‹œํ—˜ ์‚ฌ์šฉ์ž๋กœ Managed ClickStack์—์„œ ๊ฒ€์ฆ, 2026-11-07)
labs/sso-role-sync ๊ด€๋ฆฌ์ž๊ฐ€ ๊ณ„์ •๋งˆ๋‹ค ์†๋Œ€์ง€ ์•Š๊ณ  SAML SSO ์‚ฌ์šฉ์ž๋ฅผ Managed ClickStack์œผ๋กœ: system ์—ญํ• ๋ณ„ ๊ถŒํ•œ(read-only SQL console์€ Service Reader๋ฟ, ๋ชจ๋“  ์„œ๋น„์Šค์—), Member + ์„œ๋น„์Šค ํ•˜๋‚˜๋กœ ๋ฒ”์œ„๋ฅผ ์ •ํ•œ custom ์—ญํ• ์„ ๋ถ™์ด๋Š” ์ฃผ๊ธฐ ์‹คํ–‰ Cloud API job, ํŒ€ ๊ธฐ๋ณธ๊ฐ’์œผ๋กœ ๋‘˜ ClickStack ์—ญํ•  (ClickHouse Cloud 26.8์—์„œ ์—ญํ•  ์ƒ์„ฑ๊ณผ dry run, 2026-11-24; member ๋ณ€๊ฒฝ๊ณผ SAML ๋กœ๊ทธ์ธ์€ ๋ฏธ์‹คํ–‰)
labs/vector-route-dual-write ์ด๋ฏธ ๋ชจ๋“  Kubernetes ๋กœ๊ทธ๋ฅผ Loki๋กœ ๋ณด๋‚ด๋Š” Vector์—์„œ Kong gateway ๋‘˜๊ณผ API ํ•˜๋‚˜๋งŒ ClickHouse ์ „์šฉ ํ…Œ์ด๋ธ”๋กœ ๋ถ„๊ธฐํ•˜๊ณ , Loki๋Š” ๊ทธ๋Œ€๋กœ ๋‘๋ฉฐ, ClickHouse๊ฐ€ ๋‚ด๋ ค๊ฐ€ ์žˆ์„ ๋•Œ sink ๋ฒ„ํผ๋ณ„๋กœ Loki๊ฐ€ ์–ด๋–ป๊ฒŒ ๋˜๋Š”์ง€ ํ™•์ธ(block์€ source ์ „์ฒด๋ฅผ ๋ฉˆ์ถ”๊ณ , drop_newest๋Š” ClickHouse ํ–‰์„ ๋ฒ„๋ฆฌ๊ณ , ๋””์Šคํฌ ๋ฒ„ํผ๋Š” ๋‘˜ ๋‹ค ์ง€ํ‚ด). ์ž˜๋ชป๋œ ํ–‰ ํ•˜๋‚˜๊ฐ€ ๋ฐฐ์น˜ ์ „์ฒด๋ฅผ ๋ฒ„๋ฆฌ๊ฒŒ ํ•จ (๋กœ์ปฌ k3d, Vector 0.61.0, ClickStack 2.44.0์—์„œ ๊ฒ€์ฆ, 2026-11-13)
labs/sentry-migration ๊ฒŒ์ž„ ๋Ÿฐ์ฒ˜ยทํด๋ผ์ด์–ธํŠธยท๋ชจ๋ฐ”์ผ ์•ฑ์€ Sentry SDK๋ฅผ ๊ทธ๋Œ€๋กœ ๋‘๊ณ  DSN๋งŒ ๋ฐ”๊ฟˆ: ์ž‘์€ bridge๊ฐ€ ์˜ค๋ฅ˜ยท๋ฆด๋ฆฌ์Šค ์ƒํƒœ ์„ธ์…˜ยท๋ฏธ๋‹ˆ๋คํ”„ ์˜์ˆ˜์ฆ์„ ClickStack ๋กœ๊ทธ๋กœ ์“ฐ๊ณ , ๋ชจ๋“  ์š”์ฒญ์„ ๊ธฐ์กด Sentry์—๋„ ๊ทธ๋Œ€๋กœ ๋ณด๋ƒ„. ๋ฆด๋ฆฌ์Šค๋ณ„ ํฌ๋ž˜์‹œ ์—†๋Š” ์„ธ์…˜, ์˜ค๋ฅ˜ ๊ทธ๋ฃน, ํฌ๋ž˜์‹œ ๊ธ‰์ฆ ์•Œ๋ฆผ, ๋„˜์–ด์˜ค์ง€ ์•Š๋Š” ๊ฒƒ(์ด์Šˆ ์›Œํฌํ”Œ๋กœ, ์‹ฌ๋ณผ๋ฆฌ์ผ€์ด์…˜) (๋กœ์ปฌ Docker, ClickStack 2.39.1, Sentry SDK Python 3.0.0 / Node 11.17.0์—์„œ ๊ฒ€์ฆ, 2026-11-25)
labs/vector-gke-psc GKE(private nodes, Cloud NAT)์˜ Vector 0.44์—์„œ ๊ธฐ์กด grok + Loki ํŒŒ์ดํ”„๋ผ์ธ ์˜†์— ClickHouse ๋ถ„๊ธฐ๋ฅผ ์ถ”๊ฐ€: Kong gateway ๋‘˜(nginx ํ˜•์‹ ํ…์ŠคํŠธ)๊ณผ JSONยทํ…์ŠคํŠธ API Pod์—์„œ ํ—ˆ์šฉ ๋ชฉ๋ก์˜ API๋งŒ, ํด๋ผ์ด์–ธํŠธ IPยท์ฟผ๋ฆฌ์ŠคํŠธ๋ง ์—†์ด GCP์˜ ClickHouse Cloud๋กœ Private Service Connect + global access(์„œ์šธ GKE, us-central1 ์„œ๋น„์Šค) ๊ฒฝ์œ  ์ ์žฌ, ๊ณต์šฉ ๊ฒฝ๋กœ๋Š” ๋‹ซ๊ณ  Cloud NAT๋Š” ์•ˆ ์”€. PSC ์„ค์ • ์ˆœ์„œ์™€ ํ™”๋ฉด (GKE 1.36.4, ClickHouse Cloud 26.6์—์„œ ๊ฒ€์ฆ, 2026-11-18)

๐ŸŽ“ ์›Œํฌ์ˆ (workshops/)

์‹ค์Šต ๋‚ด์šฉ
workshops/o11y-vector-ai ClickStackยทVectorยทOpenTelemetry ๊ธฐ๋ฐ˜ ๊ด€์ธก์„ฑ
workshops/observability-waf ๋ฉ€ํ‹ฐ ํด๋ผ์šฐ๋“œ MSA ํ™˜๊ฒฝ์˜ WAF ๊ด€์ธก์„ฑ

๐Ÿงฉ OTel ํ”„๋กœํŒŒ์ผ (otel-profiles/)

์žฅ๋น„๊ตฐ๋ณ„๋กœ ๋‚˜๋ˆˆ ์กฐํ•ฉ ๊ฐ€๋Šฅํ•œ ์ปฌ๋ ‰ํ„ฐ ์„ค์ •์ž…๋‹ˆ๋‹ค. GPU ๋…ธ๋“œ, BMC ๋‹ฌ๋ฆฐ ๋ฒ ์–ด๋ฉ”ํƒˆ, KVM ํ•˜์ดํผ๋ฐ”์ด์ €, vSphere ํด๋Ÿฌ์Šคํ„ฐ์—์„œ ๊ฐ๊ฐ ๋ฌด์—‡์„ ์ˆ˜์ง‘ํ• ์ง€ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค. ClickStack ์„ค์ •์— ๋ณ‘ํ•ฉํ•˜๊ฑฐ๋‚˜, ClickStack ์ปฌ๋ ‰ํ„ฐ ๋นŒ๋“œ์— ํ•ด๋‹น ๋ฆฌ์‹œ๋ฒ„๊ฐ€ ์—†์œผ๋ฉด ์‚ฌ์ด๋“œ์นด๋กœ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

otel-profiles linux-host ยท windows-host ยท gpu-nvidia ยท baremetal-node ยท virt-kvm ยท virt-vsphere ยท mysql ยท aws-rds-mysql

๐Ÿงฐ ClickStack ์„ค์ • (clickstack-config/)

sourceยท๋Œ€์‹œ๋ณด๋“œยท์•Œ๋ฆผ์„ ํ•˜๋‚˜์˜ Terraform ์„ค์ •์œผ๋กœ ๊ด€๋ฆฌํ•˜๋ฉฐ, self-hosted์™€ Cloud๋ฅผ ํ™˜๊ฒฝ๋ณ€์ˆ˜๋งŒ์œผ๋กœ ์ „ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

clickstack-config log/trace/metric source, ๋Œ€์‹œ๋ณด๋“œ, ์•Œ๋ฆผ, ์›นํ›…

์œ„ ์‹ค์Šต์ด ๋ชจ๋‘ ์‹คํ–‰๋˜๋Š” ๋กœ์ปฌ ์Šคํƒ๊ณผ Cloud ๋Œ€์ƒ, ์ค€๋น„ ์ƒํƒœ ํ™•์ธ๊ณผ ํ…”๋ ˆ๋ฉ”ํŠธ๋ฆฌ end-to-end ํ™•์ธ์€ _base/์— ์žˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ—บ ๋กœ๋“œ๋งต

๊ณ„ํš๋งŒ ์žˆ๊ณ  ์•„์ง ์ž‘์„ฑํ•˜์ง€ ์•Š์€ ์‹ค์Šต์ž…๋‹ˆ๋‹ค.

๊ฒฝ๋กœ ๊ณ„ํš
labs/otel-schema otel_logs, otel_traces, otel_metrics_* ๊ตฌ์กฐ, ์ •๋ ฌ ํ‚ค, ์†์„ฑ Map/JSON
labs/ingestion OTel Collector ClickHouse exporter, ๋ฐฐ์น˜ยทasync insert, ์ƒ˜ํ”Œ๋ง
labs/hyperdx-sources Log/Trace/Metric source ์„ค์ •๊ณผ ํ•„์ˆ˜ ๋งคํ•‘
labs/schema-tuning ์ฝ”๋ฑ, TTL, skip index, ์†์„ฑ materialize, ๋น„์šฉ
labs/dashboards-alerts ๋Œ€์‹œ๋ณด๋“œ, ์•Œ๋ฆผ, ๊ฒ€์ƒ‰ ๋ฌธ๋ฒ•
labs/clickstack-cloud ClickHouse Cloud์˜ ๊ด€๋ฆฌํ˜• ClickStack/HyperDX

๐Ÿ”— ๊ด€๋ จ ์ €์žฅ์†Œ

์ €์žฅ์†Œ ์„ค๋ช…
litkhai/clickhouse-hols ClickHouse ํ•ต์‹ฌ ์‹ค์Šต

โœ… ์ €์žฅ์†Œ ๊ฒ€์‚ฌ

ํ˜„์žฌ ์ƒํƒœ์™€ ์žฌ์‹คํ–‰์ด ํ•„์š”ํ•œ ํ•ญ๋ชฉ: STATUS.md.

git config core.hooksPath .githooks
python3 .github/scripts/check_links.py
./.github/scripts/check_syntax.sh
pip install --quiet markdown && python3 .github/scripts/build_site.py && git diff --exit-code -- docs/labs.json

docs/labs.json์€ docs/์—์„œ ์œ ์ผํ•˜๊ฒŒ ์ปค๋ฐ‹ํ•˜๋Š” ํŒŒ์ผ์ž…๋‹ˆ๋‹ค. lab.yaml์— web: true๊ฐ€ ์žˆ๋Š” ์‹ค์Šต๋งŒ ๋‹ด๊ธฐ๋ฉฐ, ๋…ธํŠธ ์‚ฌ์ดํŠธ๊ฐ€ main์—์„œ ๊ฐ€์ ธ๊ฐ‘๋‹ˆ๋‹ค. ํ‚ค์™€ ๋ถ„๋ฅ˜๋Š” tools/lab.schema.md. ๋งˆ์ง€๋ง‰ ๋ช…๋ น์€ ์ปค๋ฐ‹๋œ ํŒŒ์ผ์ด ๋‚ก์•˜์œผ๋ฉด ์‹คํŒจํ•ฉ๋‹ˆ๋‹ค โ€” ์ƒˆ๋กœ ์“ด ํŒŒ์ผ์„ ์ปค๋ฐ‹ํ•˜์„ธ์š”.

๐Ÿ“ ๋ผ์ด์„ ์Šค

MIT. ์‹ค์Šต์ด ์‹คํ–‰ ์‹œ์ ์— ์„ค์น˜ํ•˜๋Š” ์†Œํ”„ํŠธ์›จ์–ด๋Š” ๊ฐ์ž์˜ ๋ผ์ด์„ ์Šค๋ฅผ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค.

About

Hands-on labs for observability on ClickHouse: ClickStack, HyperDX and OpenTelemetry (EN/KO)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages