UI

Plotting Metrics

In order to plot your metrics, we have developed a prototype user interface, which you can look at as a scratchpad. A scratchpad in our vision is essentially a temporary dashboard that is stored only locally in your browser and has the capability to be shared since the information about the dashboard is encoded into the URL.

Enabling the UI

The first step towards using the UI is to enable it, since right now it’s feature flagged. These two flags need to be turned on:

  • organizations:custom-metrics - controls ingestions and UI
  • organizations:ddm-ui - controls UI

See our guide on feature flags to learn how to do that.

Once you have the feature flag enabled you will magically see a new sidebar item called DDM and now the fun begins!

DDM Sidebar

Using the UI

The UI is quite straightforward. You will see an option to add a widget, and each widget will have a series of properties. These properties include the metric you want to plot (identified by name), the aggregate operation to perform, the grouping method, and the display type.

DDM UI

You will also be able to save your scratchpad. This means that Sentry will store the representation of the scratchpad in your local storage. This allows you to maintain multiple scratchpads during an exploration.

🙏 Now have fun and don’t forget to give us feedback on GitHub

You can edit this page on GitHub.