@inspector-apm/inspector-adonisjs
TypeScript icon, indicating that this package has built-in type declarations

1.0.27 • Public • Published

Inspector - Code Execution Monitoring

Install

Install the latest version from npm:

npm i --save @inspector-apm/inspector-adonisjs

Configure

Run the command below to connect dependencies:

node ace invoke @inspector-apm/inspector-adonisjs

Usage

The first thing to do is to configure the INSPECTOR_INGESTION_KEY in your .env file to enable data transfer from your application to Inspector.

INSPECTOR_INGESTION_KEY=xxxxxxxxxx

You can get a valid key creating a new application on your Inspector dashboard.

HTTP traffic monitoring

To enable HTTP traffic monitoring make sure to configure the InspectorMiddleware as first entry inside the start/kernel.ts file:

Server.middleware.register([
    () => import('@ioc:Adonis/Addons/InspectorMiddleware'),
    ...,
])

For detailed instructions check out the official documentation.

Package Sidebar

Install

npm i @inspector-apm/inspector-adonisjs

Weekly Downloads

0

Version

1.0.27

License

MIT

Unpacked Size

12 kB

Total Files

19

Last publish

Collaborators

  • valerione
  • riktar