-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtemp
37 lines (30 loc) · 1.02 KB
/
temp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/fetch
1. fetch summary
2. contacts built
3. tweet
4. contacts saved
analytics.track("fetch tweet cycle summary",{
total_no_of_tweets_fetched : total_no_of_tweets_fetched,
total_no_of_discarded_tweets : total_no_of_discarded_tweets
total_no_of_fraud_tweets : total_no_of_fraud_tweets,
tweets.length : tweets.length
});
analytics.track("routine fetch cycle contacts built",{
no_of_tweets_fetched:tweets.length,
no_of_contacts_built:contacts.length
});
analytics.track("tweets object saved to db",{qty:promises.length})
analytics.track("contacts object saved to db",{qty:promises.length})
/delete
Routine fraud delete triggered
/endpoints
analytics.track("Contact feedback endpoint hit",{
contact_no:contact_no,
feedback_value:feedback_value
})
analytics.track("Conatcts endpoint hit",{
limit:limit,
offset:offset,
location:location,
resource:resource
})