mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
- Upgrades ClickHouse to 25.6, fixes breaking config change, needed for latest JSON type - Upgrades OTel Collector to 0.129.1, fixes breaking config change, needed for latest JSON support in exporter - Upgrades OTel OpAMP Supervisor to 0.128.0 - Fixes features to support JSON type columns in OTel in HyperDX (filtering, searching, graphing, opening rows, etc.) Requires users to set `BETA_CH_OTEL_JSON_SCHEMA_ENABLED=true` in `ch-server` and `OTEL_AGENT_FEATURE_GATE_ARG='--feature-gates=clickhouse.json'` in `otel-collector` to enable JSON schema. Users must start a new ClickHouse DB or migrate their own table manually to enable as it is not schema compatible and migration is not automatic. Closes HDX-1849, HDX-1969, HDX-1849, HDX-1966, HDX-1964 Co-authored-by: Tom Alexander <3245235+teeohhem@users.noreply.github.com>
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
name: hdx-ci
|
|
services:
|
|
otel-collector:
|
|
build:
|
|
context: ./docker/otel-collector
|
|
target: dev
|
|
environment:
|
|
CLICKHOUSE_ENDPOINT: 'tcp://ch-server:9000?dial_timeout=10s'
|
|
HYPERDX_OTEL_EXPORTER_CLICKHOUSE_DATABASE: ${HYPERDX_OTEL_EXPORTER_CLICKHOUSE_DATABASE}
|
|
HYPERDX_API_KEY: ${HYPERDX_API_KEY}
|
|
HYPERDX_LOG_LEVEL: ${HYPERDX_LOG_LEVEL}
|
|
volumes:
|
|
- ./docker/otel-collector/config.yaml:/etc/otelcol-contrib/config.yaml
|
|
ports:
|
|
- '23133:13133' # health_check extension
|
|
# - '24225:24225' # fluentd receiver
|
|
# - '4317:4317' # OTLP gRPC receiver
|
|
# - '4318:4318' # OTLP http receiver
|
|
# - '8888:8888' # metrics extension
|
|
networks:
|
|
- internal
|
|
depends_on:
|
|
- ch-server
|
|
ch-server:
|
|
image: clickhouse/clickhouse-server:25.6-alpine
|
|
environment:
|
|
# default settings
|
|
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1
|
|
volumes:
|
|
- ./docker/clickhouse/local/config.xml:/etc/clickhouse-server/config.xml
|
|
- ./docker/clickhouse/local/users.xml:/etc/clickhouse-server/users.xml
|
|
- ./docker/clickhouse/local/init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
|
|
restart: on-failure
|
|
ports:
|
|
- 8123:8123 # http api
|
|
# - 9000:9000 # native
|
|
networks:
|
|
- internal
|
|
db:
|
|
image: mongo:5.0.14-focal
|
|
command: --port 29999
|
|
ports:
|
|
- 29999:29999
|
|
networks:
|
|
- internal
|
|
networks:
|
|
internal:
|
|
name: 'hyperdx-ci-internal-network'
|