joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Add support for external logging services

Open rglover opened this issue 3 years ago • 1 comments

When Joystick Deploy launches, it will have its own logs feature on the disk of instances, but it'd be good to support third-party logging tools at the app-level.

Not 100% sold, but may be good to offer a logs option for @joystick.js/node which pre-configures drivers for popular services based on your settings. If you say something like...

node.app({
  logs: {
    provider: 'sentry',
    credentials: {
      apiKey: '',
    },
    options: {}
  },
});

Sentry would automatically be run on app startup and logs would be routed to the passed API key.

rglover avatar May 01 '22 22:05 rglover

Don't forget about the built-in event hooks. May be better to document common services being used there.

rglover avatar Jul 18 '23 02:07 rglover