AI Agents Integration
PingRoot can monitor your AI agents to ensure they’re running smoothly and respond within expected timeframes.
1. Create a health endpoint
Section titled “1. Create a health endpoint”Add a health check endpoint to your agent:
// Example health endpoint for your agentapp.get('/health', (req, res) => { res.json({ status: 'healthy', agent: 'my-agent', uptime: process.uptime(), last_request: lastRequestTime, });});2. Add your agent in the dashboard
Section titled “2. Add your agent in the dashboard”- Go to your PingRoot dashboard.
- Click Add Monitor.
- Set URL to your health endpoint (e.g.,
https://your-agent.com/health). - Set interval to
5 minutes(Free) or1 minute(Pro). - Set Expected Status to
200. - Click Create Monitor.
Best Practices
Section titled “Best Practices”- Use a short check interval (5 minutes on Free, 1 minute on Pro) for critical agents.
- Enable alerts so you’re notified the moment your agent stops responding.
- Track response time trends to spot degradation early.