Skip to content

Commit cb4c7ee

Browse files
authored
Prepare 5.8.0 (#980)
1 parent 43dd903 commit cb4c7ee

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

CHANGELOG.md

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

3+
## 5.8.0
4+
5+
The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.8.0.
6+
7+
### Features
8+
9+
- Add support for Sentry metrics. [#977](https://github.com/getsentry/sentry-symfony/pull/977)
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+
321
## 5.7.0
422

523
The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.7.0.

0 commit comments

Comments
 (0)