🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@grafana/levitate-bq

Package Overview
Dependencies
Maintainers
15
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grafana/levitate-bq

takes @grafana/levitate output and streams it to BigQuery

latest
Source
npmnpm
Version
0.3.1
Version published
Maintainers
15
Created
Source

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

Keywords

levitate

FAQs

Package last updated on 25 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts