-
Notifications
You must be signed in to change notification settings - Fork 63
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
RUM-2441 Print RUM app, session and view ID in LogCat #1760
RUM-2441 Print RUM app, session and view ID in LogCat #1760
Conversation
e9a2bcf
to
9b4acbe
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #1760 +/- ##
===========================================
+ Coverage 83.52% 83.56% +0.04%
===========================================
Files 468 469 +1
Lines 16386 16391 +5
Branches 2445 2447 +2
===========================================
+ Hits 13685 13696 +11
+ Misses 2037 2031 -6
Partials 664 664
|
@@ -77,6 +78,7 @@ internal class RumApplicationScope( | |||
syntheticsTestId = event.testId, | |||
syntheticsResultId = event.resultId | |||
) | |||
Log.i(RumScope.SYNTHETICS_LOGCAT_TAG, "_dd.application.id=${rumContext.applicationId}") |
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.
Is this safe to expose it in the Logcat ? The session Id and view Id is something we generated but the applicationId
is the actual RUM application ID.
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.
It's only exposed when being ran via Synthetics.
Also the RUM Application ID is an identifier, not a token or a key. Just having the App id gives no permission by itself
What does this PR do?
Print the RUM app, session and view ID in LogCat
Motivation
Let the Synthetics runner know what those ids are to create a link from a test run to the linked RUM events