add write_gcm plugin

You mean just to remove //#define METADATA_PREFIX "http://127.0.0.1:4090/"?



On Mon, Aug 4, 2014 at 12:49 PM, Jeremy Katz <notifications@github.com>
wrote:

> In src/write_gcm.c:
>
> > +#define MAX_ENCODE_SIZE 2048
> > +#define MAX_TIMESTAMP_SIZE 128
> > +
> > +#define PLUGIN_INSTANCE_LABEL "plugin_instance"
> > +#define TYPE_INSTANCE_LABEL "type_instance"
> > +#define SERVICE_LABEL "cloud.googleapis.com/service"
> > +#define RESOURCE_ID_LABEL "compute.googleapis.com/resource_id"
> > +#define METRIC_LABEL_PREFIX "custom.cloudmonitoring.googleapis.com"
> > +#define DEFAULT_SERVICE "compute.googleapis.com"
> > +
> > +#define MONITORING_URL \
> > +  "https://www.googleapis.com/cloudmonitoring/v2beta2"
> > +#define MONITORING_SCOPE "https://www.googleapis.com/auth/monitoring"
> > +#define GCE_METADATA_FLAVOR "Metadata-Flavor: Google"
> > +#define METADATA_PREFIX "http://169.254.169.254/"
> > +//#define METADATA_PREFIX "http://127.0.0.1:4090/"
>
> Nitpicky... probably don't still need this.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Stackdriver/collectd/pull/2/files#r15776596>.
>