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

Refactor app-web OTEL #2886

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Refactor app-web OTEL #2886

wants to merge 10 commits into from

Conversation

mojotalantikite
Copy link
Contributor

Summary

This refactors OTEL in app-web, as we've been having on and off issues around getting traces into New Relic and alerting on them. This refactors how we do things in app-web. Previously, we had a wrapper component that initialized tracing outside of the component lifecycle and the TraceProvider didn't provide the context. Here we use React.createContext and have hooks for other components to use.

I also fixed up the alert groups in New Relic and tested that we do get a JSException when we trigger the error boundary test in my branch. Those should be available in dev/val/prod as this promotes.

Note that there were a few tests that kept failing that I had to clean up with these changes.

Related issues

https://jiraent.cms.gov/browse/MCR-4437

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.

1 participant