Performance dashboards can be created in Sentry to visualise the evolution of a given performance metric over time.
The performance metric needed to monitor the performance of a given user flow can be tracked by adding a performance trace to the codebase (or by using an existing trace if one already exists). More details on performance tracing can be found here.
Go to Sentry dashboards page.
From there, you can either create a new dashboard for your team, or update an existing one.
If you create a new dashboard, you'll need to indicate the name of the project:
- Choose
metamaskproject for Extension - Choose
metamask-mobileproject for Mobile
Example:
Click on "Add widget".
Choose a self-explanatory name for your widget, like: name-of-the-trace (type-of-application).
Example: UI Startup (Chrome) or UI Startup (Firefox) or UI Startup (iOS) or UI Startup (Android)
Choose Bar Chart (our default choice), Area Chart or Line Chart if you're interested in the evolution of your metric over time:
Choose Table if you're interested in the average value for your metric:
Select Transactions.
Replicate the following config:
For Extension, if you want to filter for Chrome metrics only, use the following query format:
transaction:"name-of-the-trace" browser.name:Chrome
For Extension, if you want to filter for Firefox metrics only, use the following query format:
transaction:"name-of-the-trace" browser.name:Firefox
For Mobile, if you want to filter for iOS metrics only, use the following query format:
transaction:"name-of-the-trace" release.package:io.metamask.MetaMask
For Mobile, if you want to filter for Android metrics only, use the following query format:
transaction:"name-of-the-trace" release.package:io.metamask
Example filter:
transaction:"UI Startup" browser.name:Chrome
Leave this section empty, and click on "Update Widget".
That's it. Your performance metric is now added to your dashboard.


