sentry
sentry copied to clipboard
Custom measurements not available in metric alerts
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
Description: When adding a custom metric, you are unable to select it as an option in metric alerts.
Custom metric:
Alert options:
Steps:
- Send custom metric with a transaction.
- Create alert -> select Custom Metric
- Attempt to select metric from dropdown
Expected Result
Custom metric to be utilized in alert
Actual Result
Unable to select custom measurements besides the predefined options
Product Area
Alerts
Link
No response
DSN
No response
Version
No response
┆Issue is synchronized with this Jira Improvement by Unito
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-performance for triage ⏲️
Routing to @getsentry/product-owners-alerts for triage ⏲️
@JLuse what was the use case the customer was trying to do here?
Routing to @getsentry/product-owners-performance for triage ⏲️
@nanoburd
@JLuse what was the use case the customer was trying to do here?
Hey, customer here! The goal is to create alerting based on the custom.waiting_time custom measurement and many others. We're trying to use Sentry to monitor our internal job queue. So we have many metrics that don't fit into the existing ones.
Another use case is to use custom metrics as a way to filter down our transactions. Not sure if it's related to this issue thought ...
We currently have:
Solving this issue allows us to finally stop jamming data into our transaction names:
Thanks for this additional context. I'm adding this to our backlog for now and we'll provide an update when we have more information.
Yup this is likely something we can work on, I think this is valuable. Thanks for bringing this up!~
if we don't fix this in triage party we should at least change UI that makes it look like we support it (e.g. to "Other Measurement")
https://sentry.zendesk.com/agent/tickets/147061
I found something interesting on this. Even though it is not working when we do Alerts > Custom Measurement, it seems to show when we create a dashboard, add a widget to view the metric, view it and click "Open in Discover" then choose "Create Alert".
Should this fall in the category of a bug then?