From df55a338924b8999f390f489542980d31fda0bd3 Mon Sep 17 00:00:00 2001 From: Alexander Pantiukhov Date: Wed, 26 Nov 2025 18:20:45 +0100 Subject: [PATCH 1/2] React Native Metrics docs --- docs/platforms/react-native/metrics/index.mdx | 30 +++++++++++++++++++ .../metrics/requirements/react-native.mdx | 1 + 2 files changed, 31 insertions(+) create mode 100644 docs/platforms/react-native/metrics/index.mdx create mode 100644 platform-includes/metrics/requirements/react-native.mdx diff --git a/docs/platforms/react-native/metrics/index.mdx b/docs/platforms/react-native/metrics/index.mdx new file mode 100644 index 0000000000000..a3c01f855502b --- /dev/null +++ b/docs/platforms/react-native/metrics/index.mdx @@ -0,0 +1,30 @@ +--- +title: Set Up Metrics +sidebar_title: Metrics +description: "Metrics allow you to send, view and query counters, gauges and measurements from your Sentry-configured apps to track application health and drill down into related traces, logs, and errors." +sidebar_order: 5760 +beta: true +--- + +With Sentry Metrics, you can send counters, gauges, distributions, and sets from your applications to Sentry. Once in Sentry, these metrics can be viewed alongside relevant errors, and searched using their individual attributes. + +This feature is currently in open beta. + +## Requirements + + + +## Usage + + + +## Options + + + +## Default Attributes + + diff --git a/platform-includes/metrics/requirements/react-native.mdx b/platform-includes/metrics/requirements/react-native.mdx new file mode 100644 index 0000000000000..e97093a2f0d52 --- /dev/null +++ b/platform-includes/metrics/requirements/react-native.mdx @@ -0,0 +1 @@ + From 0e8fd867984f86f15e886021efa74815589ca3ef Mon Sep 17 00:00:00 2001 From: Alexander Pantiukhov Date: Thu, 27 Nov 2025 10:22:04 +0100 Subject: [PATCH 2/2] Redirect fix --- src/middleware.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/middleware.ts b/src/middleware.ts index 60399d9bb687d..f446bb3b67966 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -1770,10 +1770,6 @@ const USER_DOCS_REDIRECTS: Redirect[] = [ from: '/platforms/ruby/metrics/', to: '/concepts/key-terms/tracing/span-metrics/', }, - { - from: '/platforms/react-native/metrics/', - to: '/concepts/key-terms/tracing/span-metrics/', - }, { from: '/platforms/java/metrics/', to: '/concepts/key-terms/tracing/span-metrics/',