允许非 tls 请求上报

This commit is contained in:
2026-05-08 13:42:32 +08:00
parent 6b87a25f46
commit e44a3c900b
2 changed files with 2 additions and 6 deletions

View File

@@ -1,6 +1,2 @@
# 根用户密码,不要为空
CLICKHOUSE_PASSWORD=
# 收集器被动模式监听地址,非 tls 传输,只在内网监听,不要暴露到公网
OTEL_COLLECTOR_APP_GRPC_HOST=
OTEL_COLLECTOR_APP_HTTP_HOST=

View File

@@ -27,8 +27,8 @@ services:
volumes:
- ./otel/app.yaml:/etc/otelcol-contrib/config.yaml
ports:
- ${OTEL_COLLECTOR_APP_GRPC_PORT}:4317
- ${OTEL_COLLECTOR_APP_HTTP_PORT}:4318
- 4317:4317
- 4318:4318
restart: unless-stopped
grafana: