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

Added react hook for App Insights #1574

Merged
merged 7 commits into from
Oct 16, 2024
Merged

Added react hook for App Insights #1574

merged 7 commits into from
Oct 16, 2024

Conversation

babakamyljanovssw
Copy link
Member

@babakamyljanovssw babakamyljanovssw commented Oct 15, 2024

Relates to #1569

This pull request primarily refactors the telemetry tracking by replacing direct ApplicationInsights usage with a custom hook useAppInsights. This change simplifies the code and improves maintainability. The most important changes include updating various components to use the new hook and ensuring app insights initialized in one place.

image
Figure: Local logs are seen in staging Application Insights

@babakamyljanovssw babakamyljanovssw changed the title Added new config to App Insights initialization ⏳ WIP - Added new config to App Insights initialization Oct 16, 2024
@babakamyljanovssw babakamyljanovssw changed the title ⏳ WIP - Added new config to App Insights initialization Added hook for App Insights Oct 16, 2024
@babakamyljanovssw babakamyljanovssw changed the title Added hook for App Insights Added react hook for App Insights Oct 16, 2024
@babakamyljanovssw babakamyljanovssw self-assigned this Oct 16, 2024
Copy link
Member

@bradystroud bradystroud 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
Member

@bradystroud bradystroud left a comment

Choose a reason for hiding this comment

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

LGTM

@bradystroud bradystroud merged commit 23bb717 into main Oct 16, 2024
5 checks passed
@bradystroud bradystroud deleted the 1569-app-insights branch October 16, 2024 22:45
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.

2 participants