{
  "repo": "tidbcloud/drhouse",
  "binary": "slowprocess",
  "binary_path": "tools/slowlogs_process/main.py",
  "dependencies": {
    "Runtime SlowProcessWorker.Start": {
      "infrastructure": {
        "object_storage": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Load raw slowlog data from S3 or GCS and preprocess it per cluster",
              "trigger": "Worker start",
              "implementation": "Manager(loader, engine_config).start()"
            }
          ]
        },
        "filesystem": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Use planedecode shared library for preprocessing",
              "trigger": "set_so_path(engine_config)",
              "implementation": "diagnosis.preprocess.utils.utils.LIB_PATH"
            }
          ]
        }
      },
      "services": []
    }
  }
}
