dependabot npm(deps): bump @sentry/node from 7.87.0 to 7.88.0
Bumps @sentry/node from 7.87.0 to 7.88.0.
Release notes
Sourced from @sentry/node
's releases.
7.88.0
Important Changes
- feat(browser): Add browser metrics sdk (#9794)
The release adds alpha support for Sentry developer metrics in the Browser SDKs (
@sentry/browser
and related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry.To enable capturing metrics, you first need to add the
MetricsAggregator
integration.Sentry.init({ dsn: '__DSN__', integrations: [ new Sentry.metrics.MetricsAggregator(), ], });
Then you'll be able to add
counters
,sets
,distributions
, andgauges
under theSentry.metrics
namespace.// Add 4 to a counter named `hits` Sentry.metrics.increment('hits', 4); // Add 2 to gauge named parallel_requests, tagged with happy: "no" Sentry.metrics.gauge('parallel_requests', 2, { tags: { happy: 'no' } }); // Add 4.6 to a distribution named response_time with unit seconds Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' }); // Add 2 to a set named valuable.ids Sentry.metrics.set('valuable.ids', 2);
In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.)
- feat(deno): Optionally instrument
Deno.cron
(#9808)This releases add support for instrumenting Deno cron's with Sentry cron monitors. This requires v1.38 of Deno run with the
--unstable
flag and the usage of theDenoCron
Sentry integration.// Import from the Deno registry import * as Sentry from "https://deno.land/x/sentry/index.mjs"; Sentry.init({ dsn: 'DSN', integrations: [ new Sentry.DenoCron(), ], }); </tr></table>
... (truncated)
Changelog
Sourced from @sentry/node
's changelog.
7.88.0
Important Changes
- feat(browser): Add browser metrics sdk (#9794)
The release adds alpha support for Sentry developer metrics in the Browser SDKs (
@sentry/browser
and related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry.To enable capturing metrics, you first need to add the
MetricsAggregator
integration.Sentry.init({ dsn: '__DSN__', integrations: [ new Sentry.metrics.MetricsAggregator(), ], });
Then you'll be able to add
counters
,sets
,distributions
, andgauges
under theSentry.metrics
namespace.// Add 4 to a counter named `hits` Sentry.metrics.increment('hits', 4); // Add 2 to gauge named parallel_requests, tagged with happy: "no" Sentry.metrics.gauge('parallel_requests', 2, { tags: { happy: 'no' } }); // Add 4.6 to a distribution named response_time with unit seconds Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' }); // Add 2 to a set named valuable.ids Sentry.metrics.set('valuable.ids', 2);
In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.)
- feat(deno): Optionally instrument
Deno.cron
(#9808)This releases add support for instrumenting Deno cron's with Sentry cron monitors. This requires v1.38 of Deno run with the
--unstable
flag and the usage of theDenoCron
Sentry integration.// Import from the Deno registry import * as Sentry from "https://deno.land/x/sentry/index.mjs"; Sentry.init({ dsn: 'DSN', integrations: [ new Sentry.DenoCron(), ], </tr></table>
... (truncated)
Commits
-
c828397
release: 7.88.0 -
b3269ca
Merge pull request #9849 from getsentry/prepare-release/7.88.0 -
8b6af6f
meta(changelog): Update changelog for 7.88.0 -
d3bf75d
feat(replay): Bumprrweb
to 2.6.0 (#9847) -
6c000b6
feat(browser): Add browser metrics sdk (#9794) -
8800d5b
fix(nextjs): Guard against injecting multiple times (#9807) -
9d4393d
ref(remix): Bump Sentry CLI to ^2.23.0 (#9773) -
f3d54de
ref(core): Refactor core integrations to avoidsetupOnce
(#9813) -
41c7782
feat(deno): Optionally instrumentDeno.cron
(#9808) -
55ecb4f
Merge pull request #9819 from getsentry/master - Additional commits viewable in compare view