@dnlup/doc
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [2.0.1](https://github.com/dnlup/doc/compare/v2.0.0...v2.0.1) (2020-10-03) | ||
### Bug Fixes | ||
* **sampler:** pass options from kOptions ([90fddd7](https://github.com/dnlup/doc/commit/90fddd765ff4163b21d8802923e26d415e6e1163)) | ||
## [2.0.0](https://github.com/dnlup/doc/compare/v1.2.0-0...v2.0.0) (2020-09-22) | ||
@@ -7,0 +14,0 @@ |
@@ -34,3 +34,3 @@ 'use strict' | ||
if (this[kOptions].collect.eventLoopDelay) { | ||
this[kEventLoopDelay] = new EventLoopDelayMetric(options.eventLoopOptions) | ||
this[kEventLoopDelay] = new EventLoopDelayMetric(this[kOptions].eventLoopOptions) | ||
} | ||
@@ -37,0 +37,0 @@ |
{ | ||
"name": "@dnlup/doc", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Get usage and health data about your Node.js process", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,3 +11,3 @@ # doc | ||
It is not coupled with any APM platform so you are free to use anything you want for that purpose. | ||
Its API are designed to let you access both computed and raw values, where possible. | ||
Its API is designed to let you access both computed and raw values, where possible. | ||
@@ -17,8 +17,8 @@ <!-- toc --> | ||
- [Installation](#installation) | ||
* [latest stable version](#latest-stable-version) | ||
* [latest development version](#latest-development-version) | ||
* [latest stable version](#latest-stable-version) | ||
* [latest development version](#latest-development-version) | ||
- [Usage](#usage) | ||
- [Enable/disable metrics collection](#enabledisable-metrics-collection) | ||
* [Garbage collection](#garbage-collection) | ||
* [Active handles](#active-handles) | ||
- [Enable/disable metrics collection](#enabledisable-metrics-collection) | ||
* [Garbage collection](#garbage-collection) | ||
* [Active handles](#active-handles) | ||
- [API](#api) | ||
@@ -93,3 +93,3 @@ * [doc([options])](#docoptions) | ||
You can disable metrics you don't need. | ||
You can disable the metrics that you don't need. | ||
@@ -249,6 +249,6 @@ ```js | ||
* `raw` `<number>` The raw value taken using the [`Histogram`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_class_histogram) API. | ||
* `raw` `<number>` The raw value obtained using the [`Histogram`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_class_histogram) API. | ||
* Returns `<number>` The computed delay value. | ||
This method is meamt to use only on node versions that supports [`monitorEventLoopDelay`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_perf_hooks_monitoreventloopdelay_options). It allows to get computed values of the event loop delay from other values than the `mean` of the [`Histogram`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_class_histogram) instance. | ||
This method is meant to be used only on node versions that supports [`monitorEventLoopDelay`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_perf_hooks_monitoreventloopdelay_options). It allows to get computed values of the event loop delay from other values than the `mean` of the [`Histogram`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_class_histogram) instance. | ||
@@ -255,0 +255,0 @@ ### Class: `GCMetric` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
52592
0