@grafana/levitate-bq
v0.3.1
Published
takes @grafana/levitate output and streams it to BigQuery
Downloads
22
Readme
Levitate with BigQuery
This is a utility tooling for shipping levitate data into big query.
Install
yarn install
Usage
Together with levitate
# Build the binary
yarn build
# Specify the google bigquery credentials file path via
export BQ_SA_KEY="<json-from-your-key-file>"
export BQ_PROJECT="<name-of-project>"
# Use levitate to get all imports for packages and send to big query
npx @grafana/levitate gobble [args] | node ./dist/index.js \
-dataset gcom_plugins \
-table grafana_import
Together with local example
# Build the binary
yarn build
# Pipe an already existing json file of package imports and send to big query
cat example.json | node ./dist/index.js \
-dataset gcom_plugins \
-table grafana_import