Overview
Create a new check group to organize related checks and apply shared settings. Check groups help you manage multiple checks efficiently by providing common configuration, environment variables, and alert channels.Request Example
Response Example
Configuration Options
Basic Settings
Basic Settings
Required Fields:
name(string): Display name for the check group
activated(boolean): Whether checks in this group are active (default: true)muted(boolean): Whether alerts are muted (default: false)tags(array): Tags for organization and filteringlocations(array): Default monitoring locations for checksfrequency(integer): Default check frequency in minutes
Environment Variables
Environment Variables
Define shared environment variables for all checks in the group:
locked: true means the value is encrypted and masked in responses
Setup and Teardown Scripts
Setup and Teardown Scripts
Define JavaScript code that runs before and after each check:Setup Script:
- Runs before each check execution
- Can prepare test data or environment
- Available to all checks in the group
- Runs after each check execution
- Can clean up resources or log results
- Executes regardless of check success/failure
Alert Settings
Alert Settings
Configure how and when alerts are triggered:Escalation Types:
RUN_BASED: Alert after N failed runsTIME_BASED: Alert after failing for N minutes
- Monitor SSL certificates in the group
- Set days before expiration to alert
- Send follow-up alerts if issues persist
- Configure frequency and count
Code Examples
Best Practices
Naming Convention
Naming Convention
Use descriptive names that indicate:
- The purpose or service being monitored
- The environment (production, staging)
- The type of checks (API, UI, health)
- “Production Payment API”
- “Staging User Authentication”
- “E-commerce Checkout Flow”
Environment Variables
Environment Variables
- Use environment variables for URLs, API keys, and configuration
- Mark sensitive values as
locked: true - Use consistent naming conventions across groups
- Consider using different groups for different environments
Alert Configuration
Alert Configuration
- Set appropriate escalation thresholds based on criticality
- Use different alert channels for different severity levels
- Configure reminders for persistent issues
- Enable SSL certificate monitoring for HTTPS endpoints
Setup and Teardown Scripts
Setup and Teardown Scripts
- Keep scripts focused and lightweight
- Use setup scripts for common test data preparation
- Use teardown scripts for cleanup and logging
- Test scripts thoroughly before deployment
After creating a check group, you can add checks to it and they will inherit the group’s default settings. You can always override group settings at the individual check level when needed.