@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.
- package/README.md +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 `
|
|
64
|
+
params in an object to `measure` and `start` as the last optional argument:
|
|
65
65
|
|
|
66
66
|
```js
|
|
67
|
-
metricLogger.
|
|
67
|
+
metricLogger.measure('thing-to-count', 14, { customer_id: 12 });
|
|
68
68
|
|
|
69
69
|
const measurement = metricLogger.start(
|
|
70
70
|
'tag-for-the-measuement',
|