RUMM-2630 RUM Configuration Telemetry#1118
Conversation
0b82881 to
87001e1
Compare
0xnm
left a comment
There was a problem hiding this comment.
looks nice! I've added some comments, but they are not blocking.
| # endregion | ||
| # region Java Concurrency | ||
| - "java.lang.Thread.constructor(java.lang.Runnable, kotlin.String):java.lang.NullPointerException,java.lang.SecurityException,java.lang.IllegalArgumentException" | ||
| - "java.lang.Thread.constructor(java.lang.Runnable, kotlin.String):java.lang.NullPointerException,java.lang.SecurityException,java.lang.IllegalArgumentException" |
| @@ -1061,10 +1062,11 @@ datadog: | |||
| - "kotlin.collections.MutableMap.remove(com.datadog.android.rum.internal.vitals.VitalListener)" | |||
| - "kotlin.collections.MutableMap.remove(kotlin.String)" | |||
| - "kotlin.collections.MutableSet.add(com.datadog.android.telemetry.internal.TelemetryEventHandler.EventIdentity)" | |||
There was a problem hiding this comment.
minor: this line can be removed, there is no such class anymore
| argumentCaptor<TelemetryConfigurationEvent> { | ||
| verify(mockWriter).write(capture()) | ||
| assertConfigEventMatchesRawEvent(firstValue, configRawEvent, rumContext) | ||
| assertThat(firstValue) |
There was a problem hiding this comment.
should it have the continuation or be removed?
There was a problem hiding this comment.
Indeed it can be removed
|
What do we think the process will be for the Cross Platform frameworks to set their configuration properties? It looks like the current event just takes the Configuration which won't have some of the cross platform information available. |
The idea will be to embed some configuration attributes in the |
I took a different approach on iOS, using a mapper style API instead. The problem is, we don't know the value of a lot of theses during the first call for initialization, so we can't send them in the additional config. |
6815500 to
d5f7c65
Compare
|
@fuzzybinary |
d5f7c65 to
1291472
Compare
1291472 to
dfbb12c
Compare
Codecov Report
@@ Coverage Diff @@
## develop #1118 +/- ##
===========================================
- Coverage 83.24% 83.07% -0.16%
===========================================
Files 273 274 +1
Lines 9372 9459 +87
Branches 1504 1539 +35
===========================================
+ Hits 7801 7858 +57
- Misses 1153 1156 +3
- Partials 418 445 +27
|
What does this PR do?
Implement a RUM Configuration Telemetry Event.