File tree 7 files changed +14
-7
lines changed
smoke-tests/otel-collector
7 files changed +14
-7
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @hyperdx/api " : patch
3
+ " @hyperdx/app " : patch
4
+ " @hyperdx/common-utils " : patch
5
+ ---
6
+
7
+ fix: map CLICKHOUSE_SERVER_ENDPOINT to otelcol ch exporter 'endpoint' field
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services:
5
5
context : ./docker/otel-collector
6
6
target : dev
7
7
environment :
8
- CLICKHOUSE_SERVER_ENDPOINT : ' ch-server:9000'
8
+ CLICKHOUSE_ENDPOINT : ' tcp:// ch-server:9000?dial_timeout=10s '
9
9
HYPERDX_API_KEY : ${HYPERDX_API_KEY}
10
10
HYPERDX_LOG_LEVEL : ${HYPERDX_LOG_LEVEL}
11
11
volumes :
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ services:
22
22
image : otel/opentelemetry-collector-contrib:0.120.0
23
23
environment :
24
24
CLICKHOUSE_PROMETHEUS_METRICS_ENDPOINT : ' ch-server:9363'
25
- CLICKHOUSE_SERVER_ENDPOINT : ' ch-server:9000'
25
+ CLICKHOUSE_ENDPOINT : ' tcp:// ch-server:9000?dial_timeout=10s '
26
26
HYPERDX_API_KEY : ${HYPERDX_API_KEY}
27
27
HYPERDX_LOG_LEVEL : ${HYPERDX_LOG_LEVEL}
28
28
volumes :
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ services:
51
51
otel-collector :
52
52
image : ${OTEL_COLLECTOR_IMAGE_NAME}:${IMAGE_VERSION}
53
53
environment :
54
- CLICKHOUSE_SERVER_ENDPOINT : ' ch-server:9000'
54
+ CLICKHOUSE_ENDPOINT : ' tcp:// ch-server:9000?dial_timeout=10s '
55
55
HYPERDX_LOG_LEVEL : ${HYPERDX_LOG_LEVEL}
56
56
ports :
57
57
- ' 13133:13133' # health_check extension
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export SERVER_URL="http://127.0.0.1:${HYPERDX_API_PORT:-8000}"
11
11
export FRONTEND_URL=" ${FRONTEND_URL:- ${HYPERDX_APP_URL:- http:// localhost} : ${HYPERDX_APP_PORT:- 8080} } "
12
12
13
13
# Internal Services
14
- export CLICKHOUSE_SERVER_ENDPOINT= " ch-server:9000"
14
+ export CLICKHOUSE_ENDPOINT= " tcp:// ch-server:9000?dial_timeout=10s "
15
15
export MONGO_URI=" mongodb://db:27017/hyperdx"
16
16
17
17
export EXPRESS_SESSION_SECRET=" hyperdx is cool 👋"
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ exporters:
96
96
sampling_initial : 5
97
97
sampling_thereafter : 200
98
98
clickhouse/rrweb :
99
- endpoint : tcp:// ${env:CLICKHOUSE_SERVER_ENDPOINT}?dial_timeout=10s&compress=lz4
99
+ endpoint : ${env:CLICKHOUSE_ENDPOINT}
100
100
database : default
101
101
username : ${env:CLICKHOUSE_USER}
102
102
password : ${env:CLICKHOUSE_PASSWORD}
@@ -109,7 +109,7 @@ exporters:
109
109
max_interval : 30s
110
110
max_elapsed_time : 300s
111
111
clickhouse :
112
- endpoint : tcp:// ${env:CLICKHOUSE_SERVER_ENDPOINT}?dial_timeout=10s&compress=lz4
112
+ endpoint : ${env:CLICKHOUSE_ENDPOINT}
113
113
database : default
114
114
username : ${env:CLICKHOUSE_USER}
115
115
password : ${env:CLICKHOUSE_PASSWORD}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ services:
21
21
file : ../../docker-compose.ci.yml
22
22
service : otel-collector
23
23
environment :
24
- - CLICKHOUSE_SERVER_ENDPOINT= ch-server:9000
24
+ - CLICKHOUSE_ENDPOINT=tcp:// ch-server:9000?dial_timeout=10s
25
25
- CLICKHOUSE_PROMETHEUS_METRICS_ENDPOINT=ch-server:9363
26
26
- HYPERDX_LOG_LEVEL=info
27
27
ports :
You can’t perform that action at this time.
0 commit comments