From 0 to Production Monitoring in 5 Minutes
Setting up observability shouldn't be an all-day project. In this guide, we'll go from zero to full production monitoring with Lognitor in under 5 minutes. You'll have log management, error tracking, AI insights, and uptime monitoring all configured and ready to go. You can read full documentation later — for now, let's get you set up with the essentials.
Step 1: Create your account (30 seconds)
Sign up at Lognitor. You'll get a free plan with 10,000 logs per month — enough to evaluate the platform with real data.
Step 2: Create a project (15 seconds)
Once you're in the dashboard, create a new project. Give it a name that matches your service (e.g., "api-production" or "web-app"). You'll get a project key immediately.
Step 3: Install the SDK (60 seconds)
Install the Lognitor SDK for your language:
# Node.js
npm install @lognitor/node
# React
npm install @lognitor/react
# Python
pip install lognitor
# Php
composer require lognitor/lognitor
Step 4: Initialize (30 seconds)
Add two lines to your application's entry point:
import Lognitor from "@lognitor/node";
Lognitor.init({
apiKey: "your-project-api-key",
environment: "production",
});
That's it for basic setup. Now send logs from anywhere in your code:
Lognitor.info("Server started on port 3000");
Lognitor.warn("Rate limit approaching");
Lognitor.error("Database connection failed", {
error: new Error("ECONNREFUSED"),
metadata: { host: "db.internal", port: 5432 },
});
You can also send structured metadata with any log to make searching and filtering easier.
Step 5: Verify (60 seconds)
Deploy your change or trigger a test log. Head to your Lognitor dashboard — you should see logs appearing in the Live Tail view within seconds.
What happens next
Once logs are flowing, Lognitor starts working immediately:
- Errors are grouped by fingerprint and stack trace similarity
- AI auto-triage begins classifying error severity and suggesting root causes
- Baseline patterns are established for anomaly detection
- Smart alerts are suggested based on your log patterns
Optional: Set up uptime monitoring
While you're here, add an uptime monitor for your production endpoint:
- Go to Monitors in the dashboard
- Click "New Monitor"
- Enter your URL and check interval
- Set notification preferences
You'll get alerts the moment your service goes down, with response time tracking and status history.
You're done
In under 5 minutes, you now have log management, error tracking, AI-powered insights, and uptime monitoring for your production service. As your needs grow, explore alerts, release tracking, session replay, and the AI chat assistant.
Welcome to Lognitor.