Slackbot
06/16/2022, 12:33 PMAlan Ryan
06/16/2022, 12:36 PM- OTEL_EXPORTER_OTLP_SPAN_INSECURE=true
- OTEL_EXPORTER_OTLP_METRIC_INSECURE=true
- OTEL_METRICS_EXPORTER=none
- OTEL_SERVICE_NAME=web1
- OTEL_EXPORTER_OTLP_ENDPOINT=host.docker.internal:4317
I can hit "host.docker.internal:4317" from my Application, if i docker-compose run .. bash and curl/netcat/telnet to the endpointAlan Ryan
06/16/2022, 12:37 PM- OTEL_EXPORTER_OTLP_SPAN_INSECURE=true
- OTEL_EXPORTER_OTLP_METRIC_INSECURE=true
settings, but I get the same errorPranay
Pranay
Alan Ryan
06/16/2022, 1:04 PMSrikanth Chekuri
06/16/2022, 1:16 PMOTEL_EXPORTER_OTLP_*_INSECURE
are never read by SDK so it doesn't change anything. What does your setup look like? Are you running SigNoz on your machine and you services with docker-compose? It shouldn't be the issue but did you try specifying the scheme in endpoint <http://host.docker.internal:4317>
?Alan Ryan
06/16/2022, 1:40 PMSrikanth Chekuri
06/16/2022, 1:43 PMAlan Ryan
06/16/2022, 1:44 PMclickhouse-setup_otel-collector-metrics_1
but I got same errorSrikanth Chekuri
06/16/2022, 1:45 PM<http://otel-collector:4317>
Alan Ryan
06/16/2022, 1:48 PMroot@0e12f257feb1:/home/app/# curl otel-collector:4317
curl: (1) Received HTTP/0.9 when not allowed
Alan Ryan
06/16/2022, 1:49 PMSrikanth Chekuri
06/16/2022, 1:52 PMAlan Ryan
06/16/2022, 1:56 PMAlan Ryan
06/16/2022, 2:01 PMTransient error StatusCode.UNAVAILABLE encountered while exporting span batch, retrying in 8s.
E0616 13:59:39.946656170 18 <http://ssl_transport_security.cc:1495]|ssl_transport_security.cc:1495]> Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
Srikanth Chekuri
06/16/2022, 2:03 PMAlan Ryan
06/16/2022, 2:03 PMSrikanth Chekuri
06/16/2022, 2:05 PMOTEL_TRACES_EXPORTER=otlp_proto_http
OTEL_EXPORTER_OTLP_ENDPOINT=<http://otel-collector:4318>
Alan Ryan
06/16/2022, 2:05 PMAlan Ryan
06/16/2022, 2:14 PMAlan Ryan
06/16/2022, 2:15 PMSrikanth Chekuri
06/16/2022, 2:21 PMAlan Ryan
06/16/2022, 2:21 PM