cube-js/cube

Sentry integration

Open

#6,249 opened on Mar 6, 2023

View on GitHub
 (2 comments) (6 reactions) (0 assignees)Rust (1,965 forks)batch import
help wanted

Repository metrics

Stars
 (19,563 stars)
PR merge metrics
 (Avg merge 5d 16h) (138 merged PRs in 30d)

Description

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 ?

Contributor guide