migrations.FS is every NNNN_name.sql, and Baseline names 0003 as the last one applied by hand: 0001 through 0003 are cutovers of the one live warehouse, each guarded to refuse any other state, so a ledger that starts empty records them rather than running them. 0004 and every migration after it run when cloud's o11y app starts. Co-authored-by: Hanzo Dev <[email protected]>
Deploy
Check that you have cloned o11y/o11y
and currently are in o11y/deploy folder.
Docker
If you don't have docker set up, please follow this guide to set up docker before proceeding with the next steps.
Using Install Script
Now run the following command to install:
./install.sh
Using Docker Compose
If you don't have docker compose set up, please follow this guide to set up docker compose before proceeding with the next steps.
cd deploy/docker
docker compose up -d
Open http://localhost:8080 in your favourite browser.
To start collecting logs and metrics from your infrastructure, run the following command:
cd generator/infra
docker compose up -d
To start generating sample traces, run the following command:
cd generator/hotrod
docker compose up -d
In a couple of minutes, you should see the data generated from hotrod in Hanzo O11y UI.
For more details, please refer to the Hanzo O11y documentation.
Docker Swarm
To install Hanzo O11y using Docker Swarm, run the following command:
cd deploy/docker-swarm
docker stack deploy -c docker-compose.yaml o11y
Open http://localhost:8080 in your favourite browser.
To start collecting logs and metrics from your infrastructure, run the following command:
cd generator/infra
docker stack deploy -c docker-compose.yaml infra
To start generating sample traces, run the following command:
cd generator/hotrod
docker stack deploy -c docker-compose.yaml hotrod
In a couple of minutes, you should see the data generated from hotrod in Hanzo O11y UI.
For more details, please refer to the Hanzo O11y documentation.
Uninstall/Troubleshoot?
Go to our official documentation site o11y.hanzo.ai/docs for more.