🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more →
Socket
Book a DemoInstallSign in
Socket

fireband

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fireband

Captures Firebase bandwidth usage in BigQuery and helps you dig through the data.

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

fireband

Firebase bandwidth analyzer

Currently includes only a NodeJS collector that captures read/write sizes by path and sends them to BigQuery tables (sharded by day).

Just a first step, lots more to come. You probably don't want to use this yet!

Sample query:

SELECT op, path, tag, SUM(size) AS total_size FROM (
  SELECT op, REGEXP_EXTRACT(path, r'^(/[^/]*)') AS path, tag, size
  FROM TABLE_DATE_RANGE(bandwidth_dev.raw, DATE_ADD(CURRENT_TIMESTAMP(), -7, 'DAY'), CURRENT_TIMESTAMP())
) GROUP BY op, path, tag ORDER BY total_size DESC

Keywords

firebase

FAQs

Package last updated on 12 Nov 2015

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