Skip to content

Commit 400f300

Browse files
Alex KrawiecAlex Krawiec
authored andcommitted
Remove JS example from product page
1 parent d653b8e commit 400f300

File tree

1 file changed

+1
-14
lines changed
  • docs/product/explore/metrics/getting-started

1 file changed

+1
-14
lines changed

docs/product/explore/metrics/getting-started/index.mdx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -323,20 +323,7 @@ Use descriptive, dot-separated names that indicate the metric's purpose:
323323

324324
### Attributes
325325

326-
Add attributes for any dimension you want to group or filter by:
327-
328-
```javascript
329-
Sentry.metrics.count("api.request", 1, {
330-
attributes: {
331-
endpoint: "/users",
332-
method: "GET",
333-
status: "200",
334-
region: "us-west",
335-
},
336-
});
337-
```
338-
339-
This allows you to query metrics like:
326+
Add attributes to to query metrics like:
340327

341328
- `sum(api.request)` grouped by `endpoint`
342329
- `sum(api.request)` where `status:500`

0 commit comments

Comments
 (0)