Как настроить Sentry для работы с HashLocationStrategy angular
У меня есть часовая установка со следующей конфигурацией:
Sentry.init({
dsn: 'https://foo@bar.ingest.sentry.io/24832489',
integrations: [
// Registers and configures the Tracing integration,
// which automatically instruments your application to monitor its
// performance, including custom Angular routing instrumentation
new BrowserTracing({
tracingOrigins: [
'https://webapp.myapp.com/api',
],
routingInstrumentation: Sentry.routingInstrumentation,
}),
],
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 0.2,
});
```
Но ошибки, которые я получаю, не указывают фактический путь, по которому они были получены (все они, кажется, от root). Я могу видеть из трассировки стека, откуда они берутся, но это разрушает мою статистику и любые совокупные отчеты, которые я хочу иметь. Есть ли способ настроить часовой для правильной работы с HashLocationStrategy?