Monitoring Integration
Datadog APM
RAKṢĀ includes built-in Datadog APM integration for comprehensive monitoring of scan operations and API performance.
Setup
- Set environment variables:
DD_SERVICE=avyay-raksha
DD_ENV=production # or staging/development
DD_API_KEY=your-datadog-api-key- The application automatically instruments:
- HTTP requests and responses
- Scan operation timing
- Error rates and exceptions
- Custom metrics for vulnerability detection
Key Metrics
raksha.scan.duration- Time taken for vulnerability scansraksha.vulnerabilities.detected- Number of vulnerabilities found per scanraksha.scan.files_processed- Files analyzed per scan operation
Dashboards
Monitor RAKṢĀ performance through:
- Service overview in APM
- Custom dashboards for scan metrics
- Alert rules for scan failures or performance degradation