2.0.0
⚠ BREAKING CHANGES
- the exported class is named Sampler and not Doc anymore
- types: types are not accessible using
Doc.
notation.
DocInstance
has been renamed toDoc
and declared as a class. - gc: the metric is not exposed to the event handler anymore,
but it is attached directly to the Doc instance. - eventLoopDelay: the eventLoopDelay metric is not exposed anymore to the
event handler, but it is attached to the Doc instance. - cpu: the cpu metric is not exposed anymore to the
event handler, but it is attached to the Doc instance. The event name is
changed fromdata
tosample
.
Features
- eventLoopDelay: expose compute method (928670f)
- attach remaining metrics and add start options (a5945cd)
- config: add JSON schema validator (4efdedd)
- config: allow selection of metrics to collect (89619a0)
- cpu: attach cpu state to doc instance (479e095)
- eventLoopDelay: attach object to doc instance (85d7b20)
- gc: attach metric to doc instance (ac516d9)
- add activeHandles metric (59d0710)
- add activeHandles metric (1676e68)
- improve gc metric (ea77ea7)
Bug Fixes
-
eventLoopDelay: use Symbol for sample method (d4021e0)
-
gc: use symbols for GCAggregatedEntry methods (356b37a)
-
lib: fix wrong name used for options symbol (865ba82)
-
sampler: exit if timer is initialized on
start
(408b1b3) -
types: remove undefined from gc stats (289d252)
-
types: use camel case for enum and use jsdoc (f90bd60)
-
rename Doc to Sampler and move it to lib (2ed25ab)
-
types: remove Doc namespace (4a3ecc2)