You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4090d4e
Browse filesBrowse the repository at this point in the historyBrowse files
ref(android): Report the network technology as its own attribute
device.connection_type is deprecated in favour of
network.connection.type, and the conventions already have
network.connection.effective_type for the generation, so the
technology is no longer folded into the connection type.
Device gains connection_effective_type with 2g, 3g, 4g or 5g,
mirroring how connection_type aliases network.connection.type.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@
120
120
121
121
See the [Data Collection documentation](https://docs.sentry.io/platforms/java/configuration/options/#dataCollection) for all configuration keys, supported integrations, and migration guidance.
122
122
123
-
- Report the cellular network technology in `device.connection_type`, for example `cellular_4g` or `cellular_5g` ([#6146](https://github.com/getsentry/sentry-java/pull/6146))
123
+
- Report the cellular network technology generation in `device.connection_effective_type`, for example `4g` or `5g` ([#6146](https://github.com/getsentry/sentry-java/pull/6146))
Copy file name to clipboardExpand all lines: sentry-android-core/src/main/java/io/sentry/android/core/internal/util/AndroidConnectionStatusProvider.java
Copy file name to clipboardExpand all lines: sentry-android-core/src/test/java/io/sentry/android/core/internal/util/AndroidConnectionStatusProviderTest.kt
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -275,7 +275,7 @@ class AndroidConnectionStatusProviderTest {
275
275
}
276
276
277
277
@Test
278
-
fun`When the cellular network technology is known, it refines the connection type`() {
278
+
fun`When on cellular with a known technology, the effective type is the generation`() {
0 commit comments