Sendgrid-plugin for Grafana
This is an initial attempt for retrieving the global statistics for Sendgrid for use in Grafana. Very early stages, but DOES work. Need to determine signed vs unsigned plugins but that's probably it.

Description
This Grafana datasource plugin reads the message statistics from Sendgrid. It returns all the usual global counters that you see on the Sendgrid site (opens, processed, requests, bounces, blocks etc etc)
Configuration
A Sendgrid API key is required for configuration. A restricted access key is required. See here for details.
Installation
Currently this plugin is NOT signed (Grafana are still determining the best approach for having 3rd party plugins signed), so if you want to run this plugin there are couple of steps required
- Modify the Grafana defaults.ini file, in the [paths] section and include a line similar to: plugins = "C:\temp\grafana-plugins" (or whichever path you install this plugin)
- Also modify defaults.ini (in [plugins] section) and modify to have a line similar to: allow_loading_unsigned_plugins = kpfaulkner-sendgrid-plugin . This will allow a non-signed plugin to be executed. See the docs for details. (note: you don't have to modify default.ini but can also choose other .ini files)
- For nix systems, make sure the generated executable (gpx_sendgrid-plugin) has the executable file flag set.