![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
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.
Big stats assumes a 4 column schema
name | data type | description |
---|---|---|
timestamp | TIMESTAMP | time stat was flushed |
value | FLOAT | value associated with stat |
key | STRING | user defined stat key |
metric_type | STRING | metric type |
Only user define stats will be published to big query. Statsd internal metrics,
those prefixed with statsd.
, will be omitted.
Meetup 2016
FAQs
google big query backend for statsd
The npm package big-stats receives a total of 2 weekly downloads. As such, big-stats popularity was classified as not popular.
We found that big-stats demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.