countly.alerts_data

Follow

Contains times for alert being trigger. There are 2 types of documents available: 1) meta document store date-base alert sent times record; 2) document for specific email address send times record;

Here is the list of fields available:

Field Description Example
_id _id format as: ‘email:${email address}” “email:hello@count.ly”
t times of triggered alert 10
${date object} times of triggered alert of specific date {2108: {06: {10 : 66}}}


For example:

//meta document
{
    "2017": {
        "8": {
            "17": 19,
            "18": 131,
            "25": 101
        },
        "9": {
            "2": 26,
            "4": 680,
            "5": 161,
            "6": 11,
            "13": 1
        },
        "10": {
            "11": 3,
            "12": 31
        },
        "11": {
            "6": 19
        }
    },
    "_id": "meta",
    "t": 1183
}


// document for one specific email address
{
  2017: {
    10: {
      11: 2,
      12: 31
    }
  },
  _id: "email:hello@count.ly",
  t: 33
}

Looking for help?