To see if this is working I locally changed Zope2/Startup/serve.py:"https://github.com/zopefoundation/Zope/blob/master/src/Zope2/Startup/serve.py#L189" and added
from sentry_sdk.integrations.wsgi import SentryWsgiMiddleware
app = SentryWsgiMiddleware(app)
after line 182. It is working but no good way to add sentry.
Are there already plans for a better integration of sentry?