You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+62Lines changed: 62 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,68 @@
4
4
5
5
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
6
6
7
+
## 7.91.0
8
+
9
+
### Important Changes
10
+
11
+
-**feat: Add server runtime metrics aggregator (#9894)**
12
+
13
+
The release adds alpha support for [Sentry developer metrics](https://github.com/getsentry/sentry/discussions/58584) in the server runtime SDKs (`@sentry/node`, `@sentry/deno`, `@sentry/nextjs` server-side, etc.). Via the newly introduced APIs, you can now flush metrics directly to Sentry.
14
+
15
+
To enable capturing metrics, you first need to add the `metricsAggregator` experiment to your `Sentry.init` call.
16
+
17
+
```js
18
+
Sentry.init({
19
+
dsn:'__DSN__',
20
+
_experiments: {
21
+
metricsAggregator:true,
22
+
},
23
+
});
24
+
```
25
+
26
+
Then you'll be able to add `counters`, `sets`, `distributions`, and `gauges` under the `Sentry.metrics` namespace.
27
+
28
+
```js
29
+
// Add 4 to a counter named `hits`
30
+
Sentry.metrics.increment('hits', 4);
31
+
32
+
// Add 2 to gauge named `parallel_requests`, tagged with `type: "a"`
-**feat(node): Rework ANR to use worker script via an integration (#9945)**
43
+
44
+
The [ANR tracking integration for Node](https://docs.sentry.io/platforms/node/configuration/application-not-responding/) has been reworked to use an integration. ANR tracking now requires a minimum Node version of 16 or higher. Previously you had to call `Sentry.enableANRDetection` before running your application, now you can simply add the `Anr` integration to your `Sentry.init` call.
0 commit comments