getsentry / getsentry/sentry

Adjust the timeframe shown in the Slack Metric alert chart

Open
#69,284 7 comments 2 reactions 1 assignee Claimed by @sentaur-athena View on GitHub
Feature getsentry/sentry Product Area: Settings - Integrations Waiting for: Product Owner
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

Currently, roughly three days of history are shown. Depending on the type of alert, we'd want this to some times show more or less context than precisely three days. In our instance, we aren't really interested in the daily alert trend for this alert, so there's little point in having the graph span several days back.

![image](https://github.com/getsentry/sentry/assets/51749023/456078fd-6d92-4b36-8663-74b1a39b6e62)

### Solution Brainstorm

There already is a "Display" select on the Edit Alert Rule page, which could also be used to customize the preview shown in Slack messages:

![image](https://github.com/getsentry/sentry/assets/51749023/94d2b1c7-db45-4542-bdbf-c7bc9fa0c53b)

### Product Area

Alerts

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.