https://signoz.io logo
#support
Title
# support
a

André Bassi

04/28/2023, 3:08 AM
hi all, I need for support… We install SigNoz on GCP/GKE via helm, with the following values:
Copy code
global:
  storageClass: gce-resizable
  cloud: gcp

clickhouse:
  installCustomStorageClass: true
The instrumented pyhon application we are calling this way:
Copy code
WORKDIR / app
CMD ["bash", "-c", "OTEL_RESOURCE_ATTRIBUTES=service.name=zagpt-python OTEL_EXPORTER_OTLP_ENDPOINT='<http://signoz-otel-collector.platform.svc.cluster.local:4317>' opentelemetry-instrument --traces_exporter otlp_proto_http --metrics_exporter otlp_proto_http python webhook.py"]
In the log of the signoz-otel-collector pod, it gives me the error:
Copy code
api-stg-00042-deployment-65f9c6d996-48wtk app Transient error Bad Gateway encountered while exporting span batch, retrying in 32s.
Does anyone have any idea where the error is for not letting me instrument my app service with python and FastAPI?
s

Srikanth Chekuri

04/28/2023, 4:28 AM
In the log of the signoz-otel-collector pod, it gives me the error:
Copy code
api-stg-00042-deployment-65f9c6d996-48wtk app Transient error Bad Gateway encountered while exporting span batch, retrying in 32s.
This shouldn’t be the signoz-otel-collector pod but rather your application.
Copy code
OTEL_EXPORTER_OTLP_ENDPOINT='<http://signoz-otel-collector.platform.svc.cluster.local:4317>'
Copy code
--traces_exporter otlp_proto_http --metrics_exporter otlp_proto_http
This is an incorrect config. You are using the HTTP exporter, but the endpoint configured is the gRPC port. You either have to change the exporter or the endpoint to HTTP, i.e.
4318
.
a

André Bassi

04/28/2023, 4:42 AM
@Srikanth Chekuri - tks, its working right now
13 Views