0.0.7 • Published 4 years ago

magx-monitor v0.0.7

Weekly downloads
10
License
MIT
Repository
-
Last release
4 years ago

Magx monitoring console

How to install package:

npm install --save magx-monitor

How to use

  const server = http.createServer()
  const magx = new Server(server, params)

  monitor(magx, { 
    serializer: "schema", // Support schema serializer
    secret: "monitor" // authentication secret
  })

  const port = process.env.PORT || 3001
  server.listen(port, () => {
    console.info(`Server started on http://localhost:${port}`)
  })

Access the Monitoring console on http://localhost:3001/magx/monitor in your browser.

License

MIT

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago