@adalo/metrics 0.1.146 → 0.1.147

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +0 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -47,11 +47,6 @@ metricsClient.gatewayPush({ groupings: { process_type: 'web' } })
47
47
  metricsClient.startPush(15) // interval in seconds
48
48
  ```
49
49
 
50
- ### Push interval and delete on shutdown
51
-
52
- - **Push interval (`METRICS_INTERVAL_SEC`):** How often metrics are pushed. Suggested: **60** (staging), **900** (15 min) or **1800** (30 min) for production to reduce load. **How to verify:** On start you get `[Monitoring] Metrics collection started. (interval: Xs, push: <origin>)` — check that `interval` matches your env.
53
- - **Delete on shutdown (`METRICS_DELETE_ON_SHUTDOWN=true`):** When the process exits (SIGTERM/SIGINT), the client calls VictoriaMetrics’ delete API so metrics for this instance (labels `app`, `dyno_id`, `process_type`) are removed. Use in production so stopped pods/dynos don’t leave stale series.
54
-
55
50
  ## HealthCheckClient
56
51
 
57
52
  Provides a health check endpoint for external monitoring services like BetterStack.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adalo/metrics",
3
- "version": "0.1.146",
3
+ "version": "0.1.147",
4
4
  "description": "Reusable metrics utilities for Node.js and Laravel apps",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",