{"action":"created","issue":{"url":"https://api.github.com/repos/articlemetrics/lagotto/issues/339","labels_url":"https://api.github.com/repos/articlemetrics/lagotto/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/articlemetrics/lagotto/issues/339/comments","events_url":"https://api.github.com/repos/articlemetrics/lagotto/issues/339/events","html_url":"https://github.com/articlemetrics/lagotto/issues/339","id":90396591,"number":339,"title":"Export CSV report to external service","user":{"login":"mfenner","id":23151,"avatar_url":"https://avatars.githubusercontent.com/u/23151?v=3","gravatar_id":"","url":"https://api.github.com/users/mfenner","html_url":"https://github.com/mfenner","followers_url":"https://api.github.com/users/mfenner/followers","following_url":"https://api.github.com/users/mfenner/following{/other_user}","gists_url":"https://api.github.com/users/mfenner/gists{/gist_id}","starred_url":"https://api.github.com/users/mfenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfenner/subscriptions","organizations_url":"https://api.github.com/users/mfenner/orgs","repos_url":"https://api.github.com/users/mfenner/repos","events_url":"https://api.github.com/users/mfenner/events{/privacy}","received_events_url":"https://api.github.com/users/mfenner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/articlemetrics/lagotto/labels/data-export","name":"data-export","color":"a368bd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-23T13:53:38Z","updated_at":"2015-07-02T18:03:29Z","closed_at":null,"body":"The CSV report is currently saved in a publicly accessible location on the Lagotto server. We want to store the report in an external service instead, using one of these three options:\r\n\r\n* automatically store in Amzaon S3 or similar service\r\n* automatically store in [Zenodo](http://zenodo.org/) data repository\r\n* keep functionality, upload to Zenodo manually"},"comment":{"url":"https://api.github.com/repos/articlemetrics/lagotto/issues/comments/118111938","html_url":"https://github.com/articlemetrics/lagotto/issues/339#issuecomment-118111938","issue_url":"https://api.github.com/repos/articlemetrics/lagotto/issues/339","id":118111938,"user":{"login":"mfenner","id":23151,"avatar_url":"https://avatars.githubusercontent.com/u/23151?v=3","gravatar_id":"","url":"https://api.github.com/users/mfenner","html_url":"https://github.com/mfenner","followers_url":"https://api.github.com/users/mfenner/followers","following_url":"https://api.github.com/users/mfenner/following{/other_user}","gists_url":"https://api.github.com/users/mfenner/gists{/gist_id}","starred_url":"https://api.github.com/users/mfenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfenner/subscriptions","organizations_url":"https://api.github.com/users/mfenner/orgs","repos_url":"https://api.github.com/users/mfenner/repos","events_url":"https://api.github.com/users/mfenner/events{/privacy}","received_events_url":"https://api.github.com/users/mfenner/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T18:03:29Z","updated_at":"2015-07-02T18:03:29Z","body":"@zdennis yes, `Alert(s)` make the most sense here. If you find it useful you can define a custom error in `lib/custom_error.rb` to make it easier to filter the alerts by these errors.\r\n\r\nThe default Rails error log also uses Logstash format in production, but I don't think there is a need to also write to the log when an error occurs. I would only use `ActiveSupport::Notifications` if there is a need to time the duration of the API calls to Zenodo, which I don't see."}}