-
Notifications
You must be signed in to change notification settings - Fork 0
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
* Datadog 지원 #56
* Datadog 지원 #56
Conversation
URLSessionInstrumentation.enable( | ||
with: URLSessionInstrumentation.Configuration( | ||
delegateClass: APIClientURLSessionDelegate.self, | ||
firstPartyHostsTracing: .trace(hosts: [API.apiBaseHost]) | ||
) |
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.
urlsessiondatadelegate는 왜 따로 생성해서 붙여준거야 ? ?
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.
https://docs.datadoghq.com/ko/real_user_monitoring/mobile_and_tv_monitoring/setup/ios/?tab=swiftpackagemanagerspm#initialize-the-rum-monitor-and-enable-urlsessioninstrumentation
이 문서 보면 알겠지만 URLSessionDelegate를 통해 datadog sdk에서 네트워크 요청 트래킹을 가져오는거 같아
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.
여기 보니까 스위즐링 해서 트래킹하는게 맞는거 같네!
URLSession 폴더에 스위즐링 하는 부분이 있어서 궁금하면 한번 봐도 좋을거 같아!
관련된 문서 📄
무엇에 관한 PR 인가요? 🙋
어떤 것을 작업하셨나요? 🛠