{
  "cron":"0 0 14 * * ? *",
  "name":"test_function",
  "description":"Please update description - If this alert fires then it means so-and-so and check so-and-so for irregularities",
  "properties":{
    "className":"org.apache.pinot.thirdeye.detection.wrapper.ChildKeepingMergeWrapper",
    "nested":[
      {
        "nestedMetricUrns":[
          "thirdeye:metric:1:platform%3Ddesktop:platform%3Dtablet"
        ],
        "className":"org.apache.pinot.thirdeye.detection.algorithm.DimensionWrapper",
        "metricUrn":"thirdeye:metric:1:platform%3Ddesktop:platform%3Dtablet",
        "nested":[
          {
            "baselineValueProvider":"$detection_rule1:RULE_BASELINE",
            "className":"org.apache.pinot.thirdeye.detection.wrapper.BaselineFillingMergeWrapper",
            "nested":[
              {
                "className":"org.apache.pinot.thirdeye.detection.wrapper.AnomalyDetectorWrapper"
              }
            ],
            "detector":"$detection_rule1:PERCENTAGE_RULE"
          }
        ],
        "dimensions":[
          "platform"
        ]
      }
    ]
  },
  "active":true,
  "yaml":"detectionName: test_function\ndescription: Please update description - If this alert fires then it means so-and-so and check so-and-so for irregularities\nmetric: test_metric\nactive: true\ndataset: test_collection\ntype: COMPOSITE_ALERT\ndimensionExploration:\n  dimensions:\n  - platform\nfilters:\n  platform:\n  - desktop\n  - tablet\nrules:\n- detection:\n  - name: detection_rule1\n    type: PERCENTAGE_RULE\n    params:\n      percentageChange: 0.05\n      pattern: DOWN\n",
  "componentSpecs":{
    "detection_rule1:PERCENTAGE_RULE":{
      "percentageChange":0.05,
      "pattern":"DOWN",
      "className":"org.apache.pinot.thirdeye.detection.components.PercentageChangeRuleDetector"
    },
    "detection_rule1:RULE_BASELINE":{
      "percentageChange":0.05,
      "pattern":"DOWN",
      "className":"org.apache.pinot.thirdeye.detection.components.RuleBaselineProvider"
    }
  },
  "components":{
  }
}