Conversation
Codecov ReportBase: 98.63% // Head: 98.62% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1838 +/- ##
==========================================
- Coverage 98.63% 98.62% -0.01%
==========================================
Files 157 157
Lines 10009 10059 +50
==========================================
+ Hits 9872 9921 +49
- Misses 137 138 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
st0012
left a comment
There was a problem hiding this comment.
@sl0thentr0py Does there any UI for custom measurements? I can see the measurements sent in this transaction, but I can't see anything on the page. I thought it'd be displayed like the web vitals but maybe not?
|
@st0012 The UI is still WIP. So far only JS and python SDKs have this API, and ingest is partially ready. UI work will follow in the coming month. |
dbd53f2 to
2945569
Compare
|
@sl0thentr0py I feel it'll be more useful to have something like transaction.measure("metrics.foo", "millisecond") do
# operation
end
# and also
Sentry.measure_with_transaction("metrics.foo", "millisecond", transaction: optional_transaction) do
# operation
endAnd then the measurement can be set without manually retrieving the transaction. |
|
ping @sl0thentr0py |
|
@st0012 I'll take a look at this tomorrow, but just wanted to say we shouldn't actually ship this till measurements are ready end-end in the product. We added the python/JS stuff to get started internally for development. |
|
Ah I see. In that case, no need to rush it then 👍 |
|
This pull request has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
|
@st0012 will review this shortly, but if we wanna include this now, I think we don't need this to be experimental anymore. Re: the top-level API helpers like |
|
If the name is still not settled, I'm fine with merging it later. I was justing seeing if things can be shipped together, not that I wanted to push this 🙂 |
|
alright, yea let's leave this for the next minor then, the UI is still WIP so it's fine to push this a bit later. |
|
ok UI landed now |
|
any updates on this? Our team would appreciate this functionality a lot |
|
@sl0thentr0py So once I rebased this PR, it'll be ok to merge it? |
|
yes I was planning to merge this this week, go ahead! |
838bf54 to
797a51b
Compare
CHANGELOG.md
Outdated
| - 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) |
There was a problem hiding this comment.
This warning is helpful.
797a51b to
7b5e21b
Compare
7b5e21b to
bbce93f
Compare
This PR adds the concept of custom measurement to
Transactionand a newTransaction#set_measurementAPI. It should be the Ruby equivalent of getsentry/sentry-python#1359.Changes
config.custom_measurementsfor toggling custom measurement's activation (default: inactive).Transaction#measurementsandTransaction#set_measurement(name, value, unit = "").