Just pip install backend.ai-monitor-sentry
inside the virtualenv of the Backend.AI Manager and Agent.
Set a key with the Sentry DSN string in the cluster's etcd, by running the following command in the manager's virtualenv:
backend.ai mgr etcd put config/plugins/error_monitor/sentry/dsn "<dsn>"