Skip to content

YoshiyukiKato/nightharbor-bigquery-reporter

Repository files navigation

nightharbor-bigquery-reporter

CircleCI sonarcloud badge Greenkeeper badge

A nightharbor reporter for GCP BigQuery.

$ npm install --save nightharbor @google-cloud/bigquery nightharbor-bigquery-reporter
import BigQuery from "@google-cloud/bigquery";
import {BigQueryReporter} from "nightharbor/reporter/gcp";

export default {
  ...,
  reporters: [
    new BigQueryReporter(new BigQuery({ projectId: "gcp project id" }), "dataset name", "table name")
  ]
  ...
}

Please don't forget to set a path to your service account credential file of GCP to GOOGLE_APPLICAITON_CREDENTIALS.

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json

About

A nightharbor reporter for GCP BigQuery

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published