cube-js/cube

Sentry integration

Aperta

#6249 aperta il 6 mar 2023

 (2 commenti) (6 reazioni) (0 assegnatari)Rust (1965 fork)batch import
help wanted

Metriche repository

Star
 (19.563 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Sentry integration

Using CubjeJS in production requires us to monitor the errors that are thrown in this environment. For this we use the common Sentry tool. Unfortunately, we can't make it work in CubeJS as of today.

We tried using express error handlers defined in the initApp parameter of the CubeJS config, but it doesn't seem to catch errors yet.

Would it be possible to either provide support for Sentry or other monitoring tools out of the box, or else give more control over the express Response object to add custom error handlers for this purpose ?

Guida contributor