-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mailchimp report plugin #408
Conversation
5238885
to
ecb60c1
Compare
cc @toddboom @pauldix MailChimp plugin is ready to review I know it's a pretty big chunk of code, the basic config would look like this: # Gathers metrics from the /3.0/reports MailChimp API
[[plugins.mailchimp]]
# MailChimp API key
# get from https://admin.mailchimp.com/account/api/
api_key = "jibberjabber-us5" # required
# Reports for campaigns sent more than days_old ago will not be collected.
# 0 means collect all.
days_old = 0
# Campaign ID to get, if empty gets all campaigns, this option overrides days_old
campaign_id = "" and output:
So let me know if there's something else you'd like to see! |
377e8e9
to
cc5281c
Compare
does it keep an internal state about the last time it grabbed data? For instance, if you set |
@pauldix Nope, it will always request |
Where time.Now gets updated at each collection |
Ok. Would be nice to have the ability to just call Telegraf from the command line to do a single historic collection. Rewriting 30 day old data on every collection is likely to cause bad performance problems inside InfluxDB
|
@pauldix It won't be overwriting data, it grabs data from the API and puts a timestamp of |
Wait, it grabs the same data over and over again, but puts a time.Now() on On Fri, Dec 4, 2015 at 6:45 PM, Cameron Sparr notifications@github.com
|
I would think that the data would change, but it's grabbing the same metric over and over, ( |
No description provided.