Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions docs/platforms/javascript/common/metrics/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ This feature is currently in limited beta. Please reach out on [GitHub](https://

<PlatformContent includePath="metrics/requirements" />

## Setup

<PlatformContent includePath="metrics/setup" />

## Usage

<PlatformContent includePath="metrics/usage" />
Expand Down
4 changes: 1 addition & 3 deletions platform-includes/metrics/options/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ If you want to disable metrics collection entirely, you can do so by disabling t
```javascript
Sentry.init({
dsn: "___PUBLIC_DSN___",
_experiments: {
enableMetrics: false,
}
enableMetrics: false,
});
```

Expand Down
2 changes: 1 addition & 1 deletion platform-includes/metrics/requirements/javascript.mdx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Metrics are supported in all Sentry JavaScript SDKs version `10.22.0` and above.
Metrics are supported in all Sentry JavaScript SDKs version `10.24.0` and above.
2 changes: 1 addition & 1 deletion platform-includes/metrics/setup/javascript.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Metrics are gated by an experimental option, `_experiments.enableMetrics` (this will not be required in future versions of the SDK).
Metrics are enabled by default.

```javascript
Sentry.init({
Expand Down
2 changes: 1 addition & 1 deletion platform-includes/metrics/usage/javascript.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Once the feature is enabled and the SDK is initialized, you can send metrics using the `Sentry.metrics` APIs.
Once the SDK is initialized, you can send metrics using the `Sentry.metrics` APIs.

The `metrics` namespace exposes three methods that you can use to capture different types of metric information: `count`, `gauge` and `distribution`.

Expand Down
Loading