@emartech/aggregate-metric-logger 2.0.1 → 2.0.2

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 +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -61,10 +61,10 @@ function exampleIOHeavyFunction() {
61
61
  ### Group by extra parameters
62
62
 
63
63
  If you want to group by additional parameters inside a tag, you can pass down these extra
64
- params in an object to `count` and `start` as the last optional argument:
64
+ params in an object to `measure` and `start` as the last optional argument:
65
65
 
66
66
  ```js
67
- metricLogger.count('thing-to-count', 14, { customer_id: 12 });
67
+ metricLogger.measure('thing-to-count', 14, { customer_id: 12 });
68
68
 
69
69
  const measurement = metricLogger.start(
70
70
  'tag-for-the-measuement',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emartech/aggregate-metric-logger",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "aggregate metrics in memory for logging",
5
5
  "main": "src/index.js",
6
6
  "scripts": {