Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add datadog integration (#8254)
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- copilot:all --> ### <samp>🤖 Generated by Copilot at eddc0ff</samp> ### Summary 🐶📝🕵️♂️ <!-- 1. 🐶 - This emoji represents Datadog, the logging and monitoring service that is integrated with the web app. It also conveys the idea of tracking and observing the web app's behavior and performance. 2. 📝 - This emoji represents logging, the process of recording and storing information about the web app's events and activities. It also conveys the idea of documenting and reporting the web app's status and issues. 3. 🕵️♂️ - This emoji represents monitoring, the process of measuring and analyzing the web app's performance and quality. It also conveys the idea of inspecting and detecting the web app's problems and opportunities. --> This pull request adds logging and monitoring of the web app and the web worker using Datadog browser logs. It adds a new dependency for `@datadog/browser-logs`, a new environment variable for `NEXT_PUBLIC_DATADOG_CLIENT_TOKEN`, and some utility files for configuring and polyfilling the logger. It also removes an unused dependency for `react-fast-marquee`. > _Sing, O Muse, of the glorious deeds of the web app makers,_ > _Who, with skill and cunning, added the logs of Datadog,_ > _The swift and faithful messenger of the cloud-born Zeus,_ > _To monitor and trace their code, both in browser and in worker._ ### Walkthrough * Add and configure Datadog browser logs library for logging and monitoring web app and web worker ([link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-c8e463bbf676c362fbc68386873a43c51bfb1a1bb136822808f18c7f2c9fb591R9), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-14b60f636e1a2b0061da57aaf231cb1ed15a5dc0c592425ed82e58fec95d42d8R35), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-cb95365019f7ba2030863c54e03dafdfde7363d4004781eab13cf7e887fa31deL1-R6), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-cb95365019f7ba2030863c54e03dafdfde7363d4004781eab13cf7e887fa31deR19), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-cb95365019f7ba2030863c54e03dafdfde7363d4004781eab13cf7e887fa31deL31-R35), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-cb95365019f7ba2030863c54e03dafdfde7363d4004781eab13cf7e887fa31deR41-R42), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-a6e33c8aa8509a097c0e5157cbd63aa8e3f373104ea573615f15d7c6804582fbR1-R32), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-96b658c988c8717a5c20e2588b1d8c183008f94ee7a20c4d7acd8cdf1beb8515R1-R103), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR562-R564), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR4984-R4998)) * Remove `react-fast-marquee` dependency and replace it with custom component for scrolling text effect ([link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-14b60f636e1a2b0061da57aaf231cb1ed15a5dc0c592425ed82e58fec95d42d8L92-R94)) * Update `entities` dependency from version 4.4.0 to 4.5.0 for encoding and decoding HTML entities ([link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL9452-R9470), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL15228-R15246), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL15422-R15441), [link](https://github.com/pancakeswap/pancake-frontend/pull/8254/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL21486-R21504))
- Loading branch information
189b362
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.
Successfully deployed to the following URLs:
uikit – ./packages/uikit
uikit.pancake.run
uikit-git-develop.pancake.run
189b362
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.
Successfully deployed to the following URLs:
web – ./apps/web
pancake-prod.vercel.app
web.pancake.run
web-git-develop.pancake.run
www.pancakeswap.finance
pancakeswap.finance