2022-02-08 17:50:02 +05:30
|
|
|
# Deploy
|
|
|
|
|
|
|
|
|
|
Check that you have cloned [signoz/signoz](https://github.com/signoz/signoz)
|
|
|
|
|
and currently are in `signoz/deploy` folder.
|
|
|
|
|
|
|
|
|
|
## Docker
|
|
|
|
|
|
|
|
|
|
If you don't have docker set up, please follow [this guide](https://docs.docker.com/engine/install/)
|
|
|
|
|
to set up docker before proceeding with the next steps.
|
|
|
|
|
|
|
|
|
|
### Using Install Script
|
|
|
|
|
|
|
|
|
|
Now run the following command to install:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
./install.sh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Using Docker Compose
|
|
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
If you don't have docker compose set up, please follow [this guide](https://docs.docker.com/compose/install/)
|
2022-02-08 17:50:02 +05:30
|
|
|
to set up docker compose before proceeding with the next steps.
|
|
|
|
|
|
|
|
|
|
```sh
|
2025-01-27 18:33:42 +05:45
|
|
|
cd deploy/docker
|
|
|
|
|
docker compose up -d
|
2022-02-08 17:50:02 +05:30
|
|
|
```
|
|
|
|
|
|
2025-03-14 17:23:10 +05:30
|
|
|
Open http://localhost:8080 in your favourite browser.
|
2022-02-08 17:50:02 +05:30
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
To start collecting logs and metrics from your infrastructure, run the following command:
|
2022-02-08 17:50:02 +05:30
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
```sh
|
|
|
|
|
cd generator/infra
|
|
|
|
|
docker compose up -d
|
|
|
|
|
```
|
2022-02-08 17:50:02 +05:30
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
To start generating sample traces, run the following command:
|
2022-02-08 17:50:02 +05:30
|
|
|
|
|
|
|
|
```sh
|
2025-01-27 18:33:42 +05:45
|
|
|
cd generator/hotrod
|
|
|
|
|
docker compose up -d
|
|
|
|
|
```
|
2022-02-08 17:50:02 +05:30
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
In a couple of minutes, you should see the data generated from hotrod in SigNoz UI.
|
2022-02-08 17:50:02 +05:30
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
For more details, please refer to the [SigNoz documentation](https://signoz.io/docs/install/docker/).
|
2022-02-08 17:50:02 +05:30
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
## Docker Swarm
|
|
|
|
|
|
|
|
|
|
To install SigNoz using Docker Swarm, run the following command:
|
2022-02-08 17:50:02 +05:30
|
|
|
|
|
|
|
|
```sh
|
2025-01-27 18:33:42 +05:45
|
|
|
cd deploy/docker-swarm
|
|
|
|
|
docker stack deploy -c docker-compose.yaml signoz
|
2022-02-08 17:50:02 +05:30
|
|
|
```
|
|
|
|
|
|
2025-03-14 17:23:10 +05:30
|
|
|
Open http://localhost:8080 in your favourite browser.
|
2022-02-08 17:50:02 +05:30
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
To start collecting logs and metrics from your infrastructure, run the following command:
|
2022-02-08 17:50:02 +05:30
|
|
|
|
|
|
|
|
```sh
|
2025-01-27 18:33:42 +05:45
|
|
|
cd generator/infra
|
|
|
|
|
docker stack deploy -c docker-compose.yaml infra
|
2022-02-08 17:50:02 +05:30
|
|
|
```
|
|
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
To start generating sample traces, run the following command:
|
2022-02-08 17:50:02 +05:30
|
|
|
|
|
|
|
|
```sh
|
2025-01-27 18:33:42 +05:45
|
|
|
cd generator/hotrod
|
|
|
|
|
docker stack deploy -c docker-compose.yaml hotrod
|
2022-02-08 17:50:02 +05:30
|
|
|
```
|
|
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
In a couple of minutes, you should see the data generated from hotrod in SigNoz UI.
|
2022-02-08 17:50:02 +05:30
|
|
|
|
2025-01-27 18:33:42 +05:45
|
|
|
For more details, please refer to the [SigNoz documentation](https://signoz.io/docs/install/docker-swarm/).
|
2022-02-08 17:50:02 +05:30
|
|
|
|
|
|
|
|
## Uninstall/Troubleshoot?
|
|
|
|
|
|
|
|
|
|
Go to our official documentation site [signoz.io/docs](https://signoz.io/docs) for more.
|
2025-01-27 18:33:42 +05:45
|
|
|
|