This document provides a complete overview of the monitoring setup for the Checkly documentation site.
I've created a comprehensive monitoring solution for your Checkly documentation site that includes:
- Homepage Availability Monitoring - Checks if the main docs site is accessible
- API Documentation Monitoring - Monitors the API reference section
- CLI Documentation Monitoring - Monitors the CLI documentation section
- User Experience Monitoring - Browser-based checks for the homepage UX
docs/
├── checkly.config.ts # Main Checkly configuration
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── .gitignore # Git ignore rules
├── deploy-monitoring.sh # Deployment script
├── MONITORING_SETUP.md # This file
└── monitoring/
├── README.md # Monitoring documentation
├── docs-monitoring-group.ts # Main monitoring group
├── homepage.check.ts # Homepage checks
└── homepage.spec.ts # Playwright UX test
npm installnpx checkly login# Option 1: Use the deployment script
./deploy-monitoring.sh
# Option 2: Manual deployment
npm run deploy- URL:
https://docs.checklyhq.com - Frequency: Every 5 minutes
- Locations: US East, EU West, AP Southeast
- Checks:
- Status code 200
- Response time < 3 seconds
- Page contains "Checkly Documentation"
- URL:
https://docs.checklyhq.com/api-reference - Frequency: Every 10 minutes
- Locations: US East, EU West
- Checks:
- Status code 200
- Response time < 4 seconds
- URL:
https://docs.checklyhq.com/cli - Frequency: Every 10 minutes
- Locations: US East, EU West
- Checks:
- Status code 200
- Response time < 4 seconds
- URL:
https://docs.checklyhq.com - Frequency: Every 15 minutes
- Locations: US East, EU West
- Checks:
- Page loads correctly
- Key navigation elements are visible
- No console errors
- Load time < 5 seconds
All checks are configured with:
- Run-based escalation: 1-2 failed runs before alerting
- Reminder notifications: 2-3 reminders every 10-15 minutes
- Critical tags: Homepage checks are tagged as critical
- Create a new check file in the
monitoring/directory - Follow the pattern in
docs-monitoring-group.ts - Test locally:
npm run test - Deploy:
npm run deploy
- Edit the appropriate check file
- Test changes:
npm run test - Deploy updates:
npm run deploy
# Test all checks locally
npm run test
# Test specific checks
npx checkly test --tags homepage# Trigger all checks
npm run trigger
# Trigger specific checks
npx checkly trigger --tags criticalOnce deployed, you can view your monitoring checks at:
- Checkly Dashboard: https://app.checklyhq.com
- Check Results: Real-time results and historical data
- Alert History: Past alerts and notifications
-
Authentication Error
npx checkly login
-
Deployment Failed
- Check your Checkly account permissions
- Verify the target URLs are accessible
-
Test Failures
- Review the check configuration
- Check if the target site is responding
- Review the monitoring setup in the
monitoring/directory - Customize checks based on your specific needs
- Set up alert channels (email, Slack, etc.) in the Checkly dashboard
- Monitor the results and adjust thresholds as needed
If you need help with the monitoring setup:
- Check the
monitoring/README.mdfile - Review the Checkly documentation
- Contact the Checkly support team
Happy Monitoring! 🎯