Commit 6b8244a
feat(slack): Pass timeseries data directly to chartcuterie for Explore unfurls
Switch Explore Slack unfurls from converting timeseries data to
EventsStats format to passing the /events-timeseries/ response directly
to the new SLACK_EXPLORE_LINE chartcuterie render descriptor.
This removes the unnecessary conversion step that converted timestamps
from milliseconds to seconds only for chartcuterie to multiply them
back to milliseconds, and wrapped values in [{count}] tuples only for
them to be unwrapped again.
Depends on #112584 for the SLACK_EXPLORE_LINE render
descriptor.
Refs DAIN-1483
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5d3818e commit 6b8244a
File tree
3 files changed
+21
-96
lines changed- src/sentry
- charts
- integrations/slack/unfurl
- tests/sentry/integrations/slack
3 files changed
+21
-96
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 37 | | |
54 | 38 | | |
55 | 39 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 40 | | |
110 | 41 | | |
111 | 42 | | |
| |||
158 | 89 | | |
159 | 90 | | |
160 | 91 | | |
161 | | - | |
| 92 | + | |
162 | 93 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | 94 | | |
169 | | - | |
170 | | - | |
171 | 95 | | |
172 | 96 | | |
173 | 97 | | |
| |||
186 | 110 | | |
187 | 111 | | |
188 | 112 | | |
189 | | - | |
190 | | - | |
191 | 113 | | |
192 | | - | |
193 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
194 | 118 | | |
195 | 119 | | |
196 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
1500 | | - | |
| 1500 | + | |
1501 | 1501 | | |
1502 | 1502 | | |
| 1503 | + | |
1503 | 1504 | | |
1504 | 1505 | | |
1505 | 1506 | | |
| |||
1546 | 1547 | | |
1547 | 1548 | | |
1548 | 1549 | | |
1549 | | - | |
1550 | | - | |
| 1550 | + | |
1551 | 1551 | | |
1552 | 1552 | | |
1553 | 1553 | | |
| |||
1651 | 1651 | | |
1652 | 1652 | | |
1653 | 1653 | | |
1654 | | - | |
| 1654 | + | |
1655 | 1655 | | |
1656 | | - | |
1657 | | - | |
1658 | | - | |
1659 | | - | |
1660 | | - | |
1661 | | - | |
1662 | | - | |
1663 | | - | |
1664 | | - | |
1665 | | - | |
1666 | | - | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
1667 | 1667 | | |
1668 | 1668 | | |
1669 | 1669 | | |
| |||
0 commit comments