Getting Started with SigNoz
This guide helps you set up and run SigNoz, an open-source observability platform.
Prerequisites
- Git: For cloning the repository.
- Go: For building the backend server.
- GCC: Required for CGO dependencies.
- Node.js: For running the frontend.
- Yarn: For managing frontend dependencies.
- Docker: For running ClickHouse and other services.
Installation
-
Clone the SigNoz repository:
git clone https://github.com/SigNoz/signoz.git
cd signoz -
Set up ClickHouse:
make devenv-clickhouse
This command starts ClickHouse and ZooKeeper using Docker Compose. It also runs schema migrations required for SigNoz.
-
Start the backend server:
make go-run-community
This command starts the community version of the SigNoz backend, connecting to ClickHouse.
-
Configure the frontend:
cd frontend
yarn install
echo "FRONTEND_API_ENDPOINT=http://localhost:8080" > .env
yarn devThese commands install frontend dependencies, create a
.env
file specifying the API endpoint, and start the frontend development server.
Usage
- Access the SigNoz UI: Open your web browser and navigate to
http://localhost:8080
. - Explore the UI: You should now see the SigNoz interface, ready to receive and display observability data.
- Generate sample data (optional): To start collecting logs and metrics from your infrastructure, run the following command:
cd deploy/docker/generator/infra
docker compose up -d - Generate Sample Traces(optional): To start generating sample traces, run the following command:
In a couple of minutes, you should see the data generated from hotrod in SigNoz UI.
cd deploy/docker/generator/hotrod
docker compose up -d
Running in Gitpod
The project is configured to run in Gitpod. To get started:
- Click the Gitpod button in the repository.
- The environment will automatically:
- Start the Docker Compose environment (ClickHouse, Zookeeper and Schema Migrator).
- Install frontend dependencies.
- Start the frontend development server.
You can then access the SigNoz UI in the Gitpod preview.
Additional Information
- For complete documentation, visit signoz.io/docs.
- Join the Slack community for support and discussions.
- Check out the contributing guidelines if you'd like to contribute to the project.