Skip to content

Commit 0d6b477

Browse files
authored
Prepare 4.20.0 (#1074)
1 parent 679cd97 commit 0d6b477

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## 4.20.0
4+
5+
The Sentry SDK team is happy to announce the immediate availability of Sentry Laravel SDK v4.20.0.
6+
7+
### Features
8+
9+
- Add support for Sentry metrics. [(#1072)](https://github.com/getsentry/sentry-laravel/pull/1072)
10+
```php
11+
// Counter metric
12+
\Sentry\trace_metrics()->count('test-counter', 10, ['my-attribute' => 'foo']);
13+
14+
// Gauge metric
15+
\Sentry\trace_metrics()->gauge('test-gauge', 50.0, ['my-attribute' => 'foo'], \Sentry\Unit::millisecond());
16+
17+
// Distribution metric
18+
\Sentry\trace_metrics()->distribution('test-distribution', 20.0, ['my-attribute' => 'foo'], \Sentry\Unit::kilobyte());
19+
```
20+
21+
### Misc
22+
23+
- Simplify usage of E_ALL [(#1067)](https://github.com/getsentry/sentry-laravel/pull/1067)
24+
325
## 4.19.0
426

527
The Sentry SDK team is happy to announce the immediate availability of Sentry Laravel SDK v4.19.0.

0 commit comments

Comments
 (0)