-
Notifications
You must be signed in to change notification settings - Fork 8
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 session and key name to EmbType and TelemetryType respectively #524
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @bidetofevil and the rest of your teammates on Graphite |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #524 +/- ##
==========================================
- Coverage 79.47% 79.46% -0.02%
==========================================
Files 403 403
Lines 10857 10859 +2
Branches 1600 1600
==========================================
Hits 8629 8629
- Misses 1583 1585 +2
Partials 645 645
|
6bf6ba2
to
a6357b5
Compare
@@ -35,4 +41,9 @@ internal sealed class EmbType { | |||
*/ | |||
internal interface TelemetryType { | |||
val description: String | |||
|
|||
/** | |||
* Return the key name used by this attribute when is used inside of OpenTelemetry objects |
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.
I'm not 100% on how this would be used. Does an EmbraceAttribute
call this, and why is the value prefixed with type
? An example is probably all I need to grok this
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.
The attributeName is the key name used in the attributes map. The next PR should clarify this - eventually I'll merge this in with the EmbraceAttribute
stuff and I think it'll make more sense.
a6357b5
to
91f0692
Compare
91f0692
to
b69df7b
Compare
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.
LGTM
Merge activity
|
Goal
Add Session to the list of ux subtypes and also a method to get the key name it should used when put inside of OTel signals