Skip to content

lorentzca/mackerel-plugin-gcp-billing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

mackerel-plugin-gcp-billing

GCP Billing custom metrics plugin for mackerel.io agent.

Requirement

The billing data is in BigQuery. And the following schema is required.

Name Type
cost FLOAT
start_time TIMESTAMP

And Application Default Credentials(JSON key) is required.

Example of mackerel-agent.conf

[plugin.metrics.gcp-billing]
command = "env GOOGLE_APPLICATION_CREDENTIALS=/path/to/JSONKEY.json /path/to/mackerel-plugin-gcp-billing -d DATASET -p PROJECTID -t TABLE"

Options

Application Options:
  -p, --projectid= Project ID (require)
  -d, --dataset=   Dataset    (require)
  -t, --table=     Table      (require)

Help Options:
  -h, --help       Show this help message

About

GCP billing costom metrics plugin for mackerel

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages