49
loading...
This website collects cookies to deliver better user experience
git clone https://github.com/SigNoz/signoz.git
cd signoz/deploy/
./install.sh
http://localhost:3000
Python 3.4 or newer
If you do not have Python installed on your system, you can download it from the link. Check the version of Python using python3 --version
on your terminal to see if Python is properly installed or not.
MongoDB
If you already have MongoDB services running on your system, you can skip this step.
For macOS:
Download link: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/
brew services start mongodb/brew/[email protected]
on your macOS terminal.git clone https://github.com/SigNoz/sample-flask-app.git
cd sample-flask-app
python3 app.py
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=pythonApp 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=pythonApp OTEL_METRICS_EXPORTER=none OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4317" opentelemetry-instrument python3 app.py