Slackbot
03/15/2022, 11:46 AMBhaswanth Gattineni
03/15/2022, 11:47 AMBhaswanth Gattineni
03/15/2022, 11:49 AMotelcolConfig: {
url: '<http://ip:4317/v1/traces>'
}
also tried with http://ip:4317 as well.Pranay
Bhaswanth Gattineni
03/15/2022, 11:56 AMBhaswanth Gattineni
03/15/2022, 12:04 PMBhaswanth Gattineni
03/15/2022, 12:04 PMVishal Sharma
03/15/2022, 1:25 PMBhaswanth Gattineni
03/15/2022, 1:31 PMBhaswanth Gattineni
03/15/2022, 1:32 PMVishal Sharma
03/15/2022, 1:33 PMBhaswanth Gattineni
03/15/2022, 1:37 PMAnkit Nayan
4317 is for otlp grpc and 4318 is the new port for otlp http and port 55681 is the legacy port for otlp http. You would need to use port 4318 or 55681 for your cases. But before that, you need to expose the ports at docker-compose file at https://github.com/SigNoz/signoz/blob/develop/deploy/docker/clickhouse-setup/docker-compose.yaml#L60. It should be like
ports:
- "4317:4317" # OTLP GRPC receiver
- "4318:4318" # OTLP http receiver
- "55681:55681" # OTLP legacy http receiver
after restarting otel-collector, confirm whether ports are correctly exposed by sudo docker ps as in below screenshot. The otel-collector line should be containing 0.0.0.0:4318->4318/tcp and 0.0.0.0:55681->55681/tcpAnkit Nayan
Bhaswanth Gattineni
03/16/2022, 3:49 AMBhaswanth Gattineni
03/16/2022, 3:49 AMotel-collector:
image: signoz/otelcontribcol:0.4.0
command: ["--config=/etc/otel-collector-config.yaml", "--mem-ballast-size-mib=2000"]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "1777:1777" # pprof extension
- "8887:8888" # Prometheus metrics exposed by the agent
- "14268:14268" # Jaeger receiver
- "55678" # OpenCensus receiver
- "55680:55680" # OTLP HTTP/2.0 legacy port
- "55681:55681" # OTLP HTTP/1.0 receiver
- "4317:4317" # OTLP GRPC receiver
- "55679:55679" # zpages extension
- "13133" # health_checkBhaswanth Gattineni
03/16/2022, 3:51 AMBhaswanth Gattineni
03/16/2022, 3:52 AMBhaswanth Gattineni
03/16/2022, 3:53 AMAnkit Nayan
cors setting was not available.Bhaswanth Gattineni
03/16/2022, 5:52 AMBhaswanth Gattineni
03/16/2022, 5:53 AMvm8pgjfk6jxo signoz_clickhouse replicated 1/1 yandex/clickhouse-server:latest *:8123->8123/tcp, *:9001->9000/tcp
ivef4tb240rc signoz_frontend replicated 1/1 signoz/frontend:0.4.1 *:3301->3301/tcp
dzoksjk6w6w6 signoz_otel-collector replicated 3/3 signoz/otelcontribcol:0.4.0 *:1777->1777/tcp, *:4317->4317/tcp, *:8887->8888/tcp, *:14268->14268/tcp, *:30000->13133/tcp, *:30001->55678/tcp, *:55679-55681->55679-55681/tcp
d2ksffqec97m signoz_otel-collector-hostmetrics replicated 1/1 signoz/otelcontribcol:0.4.0
b0f9ehe75bdb signoz_query-service replicated 1/1 signoz/query-service:0.4.1 *:8080->8080/tcpBhaswanth Gattineni
03/16/2022, 5:53 AMBhaswanth Gattineni
03/16/2022, 6:17 AMAnkit Nayan