44
loading...
This website collects cookies to deliver better user experience
git clone https://github.com/SigNoz/signoz.git
cd signoz/deploy/
./install.sh
Python 3.4 or newer
Download the latest version of Python.
MongoDB
Below are the download links for different OS:
MacOS
Linux
Windows
git clone https://github.com/SigNoz/sample-flask-app.git
cd sample-flask-app
python3 app.py
requirements.txt
, which contains all the necessary requirements to set up OpenTelemetry Python instrumentation. Make sure your path is updated to the root directory of your sample app and run the following command:pip3 install -r requirements.txt
grpcio
during pip3 install opentelemetry-exporter-otlp then follow below steps as suggested in this stackoverflow link.opentelemetry-bootstrap --action=install
OTEL_RESOURCE_ATTRIBUTES=service.name=flaskApp OTEL_METRICS_EXPORTER=none OTEL_EXPORTER_OTLP_ENDPOINT="http://<IP of SigNoz>:4317" opentelemetry-instrument python3 app.py
Ip of SigNoz
can be replaced with localhost in this case. Hence, the final command becomes:OTEL_RESOURCE_ATTRIBUTES=service.name=flaskApp OTEL_METRICS_EXPORTER=none OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4317" opentelemetry-instrument python3 app.py
Flask_app
in the list of applications being monitored on SigNoz dashboard.#help
channel.