-
Notifications
You must be signed in to change notification settings - Fork 7
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
TapBreadcrumbDataSource created #663
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @nelsitoPuglisi and the rest of your teammates on Graphite |
embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/arch/schema/SchemaType.kt
Outdated
Show resolved
Hide resolved
embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/arch/schema/SchemaType.kt
Outdated
Show resolved
Hide resolved
override val attrs = mapOf( | ||
"view.name" to viewName, | ||
"tap.type" to type, | ||
"tap.coords" to coords |
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.
Not for the migration now, but something to think about for the future when we want to make this a semantic convention for all of OTel - do we want to have a "unit" field so tap coordinates can be in % of the viewport, device pixels, device independent pixels, etc?
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.
Looks good. I assume the integration tests be added in a separate PR?
9da5298
to
cbaf452
Compare
3b1e3d1
to
79cdaec
Compare
cbaf452
to
c26fb45
Compare
79cdaec
to
cd8c82c
Compare
Yes, there are part of the next PR, when it's hooked up in the breadcrumb service. |
cd8c82c
to
a45dde4
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #663 +/- ##
=======================================
Coverage 80.21% 80.22%
=======================================
Files 418 419 +1
Lines 10960 10998 +38
Branches 1661 1665 +4
=======================================
+ Hits 8792 8823 +31
- Misses 1491 1494 +3
- Partials 677 681 +4
|
Goal
Create a TapBreadcrumbDataSource to log taps as span events.
Testing
Unit test