Observability
Copy page
Monitor your agents with SigNoz, an open-source observability platform that receives traces from the framework's built-in OpenTelemetry instrumentation.
Overview
You can set up SigNoz in two ways:
- Cloud Setup: Use SigNoz Cloud
- Local Setup: Run SigNoz locally using Docker
Option 1: SigNoz cloud setup
Step 1: Create a SigNoz cloud project
- Sign up at SigNoz
- Create a new project or use an existing one
Step 2: Save your SigNoz API key, ingestion key, and SigNoz URL
You'll need to collect three pieces of information from your SigNoz dashboard:
-
API Key:
- Navigate to Settings → Workspace Settings → API Keys → New Key
- Set the expiration field to "No Expiry" to prevent the key from expiring
- Copy the generated API key
-
Ingestion Key:
- Navigate to Settings → Workspace Settings → Ingestion
- Copy the ingestion key
-
SigNoz URL:
- Copy the URL from your browser's address bar
- It will look like:
https://<your-organization>.signoz.cloud
Step 3: Configure your root .env
file
Step 4: Verify cloud setup
-
Restart your development environment:
-
Generate some traces by interacting with your agents
-
Open your SigNoz canloud dashboard and navigate to "Traces" to see your agent traces
Option 2: Local SigNoz setup
Prerequisites
- Docker installed on your machine
Step 1: Clone the optional services repository
Clone the Inkeep optional local development services repository:
Step 2: Configure SigNoz Credentials (Optional)
In the agents-optional-local-dev
repository, you can optionally set credentials by adding these to your .env
file:
Step 3: Start SigNoz Services
Run the following command to start SigNoz and related services:
This will start:
- SigNoz frontend (accessible at
http://localhost:3080
) - SigNoz query service
- SigNoz OTEL collector
- ClickHouse database
When you visit http://localhost:3080
, you can log in using the credentials you configured above.
Step 4: Configure Environment Variables
In your root project directory (of my-agent-directory), update your .env
file:
To get your SigNoz API key:
- Open SigNoz at
http://localhost:3080
- Navigate to Settings → Account Settings → API Keys → New Key
- Create a new API key or copy an existing one.
- Set the expiration field to "No Expiry" to prevent the key from expiring
Step 5: Verify Setup
-
Restart your Inkeep agents:
-
Make some requests to your agents to generate traces
-
Open SigNoz at
http://localhost:3080
and navigate to the "Traces" section to see your agent traces
For more information on how to debug traces, see the SigNoz Usage guide.
Additional Observability: Langfuse Integration
👉 If you want to connect to Langfuse for specialized LLM observability alongside SigNoz see the Langfuse Usage guide for complete setup instructions.