Skip to content
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

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

bidetofevil
Copy link
Collaborator

@bidetofevil bidetofevil commented Mar 7, 2024

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

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 79.46%. Comparing base (0015c2e) to head (b69df7b).
Report is 2 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            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              
Files Coverage Δ
.../embrace/android/embracesdk/arch/schema/EmbType.kt 66.66% <0.00%> (-13.34%) ⬇️

@bidetofevil bidetofevil marked this pull request as ready for review March 8, 2024 06:20
@bidetofevil bidetofevil requested a review from a team as a code owner March 8, 2024 06:20
@@ -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
Copy link
Contributor

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

Copy link
Collaborator Author

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.

Copy link
Contributor

@fractalwrench fractalwrench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator Author

bidetofevil commented Mar 11, 2024

Merge activity

@bidetofevil bidetofevil merged commit 3b808fd into master Mar 11, 2024
6 of 7 checks passed
@bidetofevil bidetofevil deleted the hho/add-to-embtype branch March 11, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants