mackerelio/mackerel-plugin-gcp-compute-engine

Name: mackerel-plugin-gcp-compute-engine

Owner: Mackerel

Description: null

Created: 2018-01-05 03:11:16.0

Updated: 2018-03-20 06:01:36.0

Pushed: 2018-03-20 06:01:43.0

Homepage: null

Size: 14

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

mackerel-plugin-gcp-compute-engine

Overview

mackerel-plugin-gcp-compute-engine is mackerel plugin that collects metrics from Google Compute Engine by using Google Monitoring API.

Description

This plugin uses Google Monitoring API to get more metrics than mackerel-agent defalut metrics.

Caution: This Plugin works only on Compute Engien instance that is enabled Stackdriver Monitoring API full access.

Usage
erel-plugin-gcp-compute-engine -api-key=<api key> [-project=<project id or number>] [-instance-name=<target instance name>]

If -project or -instance-name are not specified, they are obtained from Google Compute Engine Metadata API for the instance executing this plugin. It means you don't need to specify them to monitor the instance itself.

Installation
Example of mackerel-agent.conf
gin.metrics.gcp-compute-engine]
and = "/path/to/mackerel-plugin-gcp-compute-engine -api-key=<YOUR-API-KEY>"
Author

littlekbt


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.