From 7b5e21bacce996636029c6c78ad912a3b2fba53a Mon Sep 17 00:00:00 2001 From: st0012 Date: Sun, 10 Jul 2022 12:40:49 +0100 Subject: [PATCH] Update changelog --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38f5c9b23..b3442d1bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,22 @@ end ``` +- Support `Sentry::Transaction#set_measurement` [#1838](https://github.com/getsentry/sentry-ruby/pull/1838) + + Usage: + + ```rb + # enable this feature first + Sentry.init do |config| + # other configs + config.custom_measurements = true + end + + # in your app + transaction = Sentry.get_current_scope.get_transaction + transaction.set_measurement("metrics.foo", 0.5, "millisecond") + ``` + ### Bug Fixes - Support redis-rb 5.0+ [#1963](https://github.com/getsentry/sentry-ruby/pull/1963)