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

feat: add reporting for shadowSupportMode #3980

Merged
merged 3 commits into from Feb 7, 2024

Conversation

jye-sf
Copy link
Contributor

@jye-sf jye-sf commented Feb 7, 2024

Details

Adds logging for shadowSupportMode 'any' and 'native'.

Does this pull request introduce a breaking change?

  • ✅ No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • ✅ No, it does not introduce an observable change.

GUS work item

ctorShadowSupportMode === ShadowSupportMode.Native)
) {
report(ReportingEventId.ShadowSupportModeUsage, {
tagName: ctorName,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using tagName here to avoid having to make changes to our o11y schema in 248/patch. This should use its own field 'ctorName' or 'name' rather than 'tagName'.

if (
isReportingEnabled() &&
(ctorShadowSupportMode === ShadowSupportMode.Any ||
ctorShadowSupportMode === ShadowSupportMode.Native)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right now we only care about 'Any' and 'Native'.

@jye-sf jye-sf merged commit 72c8c09 into master Feb 7, 2024
9 checks passed
@jye-sf jye-sf deleted the jye/shadow-support-mode-report branch February 7, 2024 18:57
jye-sf added a commit that referenced this pull request Feb 7, 2024
* feat: add reporting for shadowSupportMode
jye-sf added a commit that referenced this pull request Feb 14, 2024
* feat: add reporting for shadowSupportMode (#3980)
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