Hi, I am signoz cloud, I have integrated it with m...
# signoz-cloud
g
Hi, I am signoz cloud, I have integrated it with my java, node.js applications it works perfectly fine. I am not able to instrument my flask application, have followed the documentation, ensured all dependies are installed and right, yet not able to see the data in signoz cloud.
If this helps I am running server via start.sh file source venv/bin/activate # Set OpenTelemetry environment variables export OTEL_RESOURCE_ATTRIBUTES="service.name=service-name" export OTEL_EXPORTER_OTLP_ENDPOINT="https://ingest.in.signoz.cloud:443" export OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key=signoz-token" export OTEL_EXPORTER_OTLP_PROTOCOL="grpc" # Start the Flask server with OpenTelemetry instrumentation exec opentelemetry-instrument python run.py
s
please share pip list from venv
g
opentelemetry-distro==0.38b0 opentelemetry-exporter-otlp==1.17.0 blinker==1.8.2 click==8.1.7 Flask==2.3.3 importlib_metadata==6.0.0 itsdangerous==2.2.0 Jinja2==3.1.4 MarkupSafe==2.1.5 Werkzeug==3.0.3 zipp==3.19.2 urllib3==1.26.16 requests==2.32.3 flask-cors==5.0.0
s
It shows instrumentation packages are not installed, you skipped the instrumentation installation step, which docs did you follow?
g
I am following the steps, when you add a "new source" from cloud account,
s
Did you make sure to complete the step 3?
g
yes, I did
is there a way for me to debug locally or check if app is sending traces to signoz or not?
s
The pip list shows instrumentation packages are not installed, no traces are produced with them. We need to first get them installed, that's why I was asking if you made sure to complete the step3. Are you doing in this in venv or global python?
g
ok, got your point, this wasn't pip list, this was my requirements.txt. It got fixed there was some version mismatch with one of the open telemetry package which wasn't compatible with flask version. It got fixed now, thanks a lot @Srikanth Chekuri