Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Feb 1, 2023
1 parent 396262a commit 838bf54
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,22 @@
- Rescue `ThreadError` in `SessionFlusher` and stop creating threads if flusher is killed [#1851](https://github.com/getsentry/sentry-ruby/issues/1851)
- Fixes [#1848](https://github.com/getsentry/sentry-ruby/issues/1848)
- Support `Sentry::Transaction#set_measurement` [#1838](https://github.com/getsentry/sentry-ruby/pull/1838)
Usage:
```rb
# enable this experimental feature first
Sentry.init do |config|
# other configs
config.experiments.custom_measurements = true
end
# in your app
transaction = Sentry.get_current_scope.get_transaction
transaction.set_measurement("metrics.foo", 0.5, "millisecond")
```
### Refactoring
- Move envelope item processing/trimming logic to the Item class [#1824](https://github.com/getsentry/sentry-ruby/pull/1824)
Expand Down

0 comments on commit 838bf54

Please sign in to comment.