https://github.com/asyncoptics/async-optics
A node asynchronous process and package monitor
https://github.com/asyncoptics/async-optics
asynchronous d3 javascript monitoring node-module nodejs
Last synced: about 1 month ago
JSON representation
A node asynchronous process and package monitor
- Host: GitHub
- URL: https://github.com/asyncoptics/async-optics
- Owner: AsyncOptics
- License: mit
- Created: 2018-03-17T20:55:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-12T16:32:50.000Z (about 7 years ago)
- Last Synced: 2025-03-27T02:11:58.190Z (about 2 months ago)
- Topics: asynchronous, d3, javascript, monitoring, node-module, nodejs
- Language: JavaScript
- Homepage:
- Size: 4.23 MB
- Stars: 200
- Watchers: 10
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://badge.fury.io/js/async-optics)
AsyncOptics is an asynchronous code viewer, performance monitor, and package monitor for Node.js and Mongodb applications. It is able to track and monitor asynchronous processes with Node.js' Async Hooks and Perf Hooks. The aggregated information is displayed in a Sankey diagram with hierarchical behavior of asynchronous functions and as a Sunburst graph for information of package monitoring. The Sankey diagram handles real-time changes for live testing and allows hovering capabilities to show specific information on desired functions on a lower panel.
### Installation
- `npm i async-optics`
### How to use
```
const {asyncMonitor, pkgMonitor} = require('async-optics');
asyncMonitor(PortNumber); // default 3000
pkgMonitor(complete path to package.json file);
```
- run your program, go to http://localhost:PortNumber### Demo
* async monitor* pkg monitor
## Contributing
This is an open source product, please feel free to fork and make pull requests!
Any suggestions are welcomed!
## Authors
[Aleksander Turberville](https://github.com/Aturberv) | [Sarah Renshaw](https://github.com/sartra) | [Penghe Wu](https://github.com/wupenghe92) | [Ralph Salazar](https://github.com/pjr4lph)
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgments
* Our Sankey diagram was built with the [Styled Sankey library](https://github.com/northam/styled_sankey/) built by [Eugene Kardash](https://github.com/northam)