Monitoring Integration

Datadog APM

RAKṢĀ includes built-in Datadog APM integration for comprehensive monitoring of scan operations and API performance.

Setup

  1. Set environment variables:
DD_SERVICE=avyay-raksha
DD_ENV=production  # or staging/development
DD_API_KEY=your-datadog-api-key
  1. 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 scans
  • raksha.vulnerabilities.detected - Number of vulnerabilities found per scan
  • raksha.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