# @grafana/levitate-bq

> takes @grafana/levitate output and streams it to BigQuery

Latest version **0.3.1** (published 2022-01-25) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @grafana/levitate-bq
pnpm add @grafana/levitate-bq
yarn add @grafana/levitate-bq
bun add @grafana/levitate-bq
```

Provides the command `levitate-bq`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2022-01-25 |
| First published | 2021-12-17 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 10.7 KB |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| Author | Grafana Labs |
| Maintainers | dsotirakis, tolzhabayev, iwysiu, andresmgotor, leventebalogh, torkelo, dprokop, peteholmberg, ryantxu, kaydelaney, stevenvachon, mckn, jwestbrook, alexanderzobnin, sunker |
| Keywords | levitate, bigquery |

## Links

- npm: https://www.npmjs.com/package/@grafana/levitate-bq
- Repository: https://github.com/grafana/levitate-bq
- Homepage: https://github.com/grafana/levitate-bq#readme
- Issues: https://github.com/grafana/levitate-bq/issues
- npm.io page: https://npm.io/package/@grafana/levitate-bq

## Dependencies (7)

- [chalk](https://npm.io/package/chalk.md) ^5.0.0
- [debug](https://npm.io/package/debug.md) ^4.3.3
- [yargs](https://npm.io/package/yargs.md) ^17.2.1
- [JSONStream](https://npm.io/package/JSONStream.md) ^1.3.5
- [typescript](https://npm.io/package/typescript.md) ^4.5.2
- [stream-json](https://npm.io/package/stream-json.md) ^1.7.3
- [@google-cloud/bigquery](https://npm.io/package/@google-cloud/bigquery.md) ^5.9.2

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 0.3.1 (latest) — 2022-01-25
- 0.3.0 — 2022-01-25
- 0.2.0 — 2022-01-13
- 0.1.0 — 2021-12-17

## README

# Levitate with BigQuery

This is a utility tooling for shipping levitate data into big query.

## Install

```bash
yarn install
```

## Usage

**Together with levitate**

```bash
# 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**

```bash
# 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
```

---
_Source: https://npm.io/package/@grafana/levitate-bq · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
