New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

big-stats

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

big-stats

google big query backend for statsd

  • 0.2.43
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-61.54%
Maintainers
1
Weekly downloads
 
Created
Source

big stats Build Status NPM Version

a google big query backend for statsd

usage

Big stats can be npm installed onto your statsd host and then referenced in your statsd server's configuration under backends

cat config.json
{
  bigquery: {
    credentials: {
       ...
    },
    projectId: "your-gcp-project-id",
    datasetId: "your_big_query_data_set_id",
    tableId: "your_big_query_table_id"
  }
  , backends: ["big-stats"],
  , ...
}

Big stats is configured through a bigquery section of your statsd server configuration.

The "credentials" should be a set of google API service account credentials acquired through your google cloud console.

"projectId" and "datasetId" must be predefined in your console bigquery

"tableId" must be provided in as configuration by does not need to be preconfigured in your google cloud console. big-stats will create the table on the fly if not previously present.

You can optionally provide a "flushInterval" (in seconds) for how often you wish to flush to bigquery. The default is 120 seconds which factors in BigQuery's 1000 job per day quota limit. Note than statsd flushes in 10 second intervals by default.

schema

Big stats assumes a 4 column schema

namedata typedescription
timestampTIMESTAMPtime stat was flushed
valueFLOATvalue associated with stat
keySTRINGuser defined stat key
metric_typeSTRINGmetric type

Only user define stats will be published to big query. Statsd internal metrics, those prefixed with statsd., will be omitted.

Meetup 2016

Keywords

FAQs

Package last updated on 14 Sep 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc