Skip to content

MyCRT Config

Cameron Taylor edited this page Feb 4, 2018 · 4 revisions

The config file for the MyCRT service is located at service/mycrt.config.json. The file is loaded in by service/src/settings.ts.

{
   // The name of the service, used in express configuration
   "name": "MyCRT Server",

   // Configure how captures are performed
   "captures": {

      // Captures are run in "mock" mode, this means that
      // they don't talk to AWS at all. Helpful for testing
      "mock": true,

      // The Capture loop interval in ms. This is how frequently
      // RDS logs and CloudWatch metrics will be gathered and
      // processed.
      "interval": 2000,

      // The amount of time to overlap loop interval in ms. This
      // should be less than the interval.
      "intervalOverlap": 200,

   },

   // Configure how replays are performed
   "replays": {

      // Replays are run in "mock" mode, this means that
      // they don't talk to AWS at all. Helpful for testing
      "mock": true,

      // The Replay loop interval in ms. This is how frequently
      // RDS logs and CloudWatch metrics will be gathered and
      // processed.
      "interval": 2000,

      // The amount of time to overlap loop interval in ms. This
      // should be less than the interval.
      "intervalOverlap": 200,

   }

}