-
-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Custom Measurements API #2013
Conversation
@mattjohnsonpint a small note:
If no One should be able to |
@marandaneto - Within the SDK, |
I added some more tests to demonstrate / ensure that. Thanks! |
Actually |
Interesting... I read it differently I guess. I will double check. Thanks for highlighting that! 👍 |
Hmmm... I'm not so sure. In https://getsentry.github.io/relay/relay_metrics/enum.MetricUnit.html#variant.None
But in https://develop.sentry.dev/sdk/event-payloads/transaction/
Both docs are describing Relay, so one of them must be in error. 🤔 |
Looking at the Relay source code, it appears either Thus, I conclude all of these would be identical: {"value":"123"}
{"value":"123","unit":""}
{"value":"123","unit":"none"} (For the .NET SDK, I always use the first one.) |
Yep, but that's what I got from the Ingest folks, Relay is a good citizen and accepts everything but the SDK is; Prefer |
So I think the differences boil down to:
I still don't understand why it would matter though. Given two ways to serialize the data where one is 14 chars longer and they both have the same effect, I prefer the shorter form. |
|
@marandaneto - I updated as you advised, to align with the behavior of the other SDKs.
Thanks for your help! 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Adds support for Custom Performance Metrics
https://docs.sentry.io/product/performance/metrics/#custom-performance-metrics
Usage:
In Sentry, they will show up under
Performance > Transaction Summary > Event Details
like this:Resolves #1951