-
Notifications
You must be signed in to change notification settings - Fork 40
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
MWPW-138026 Add tags to lana logs #160
Conversation
Hello, I'm the AEM Code Sync Bot and I will run some test suites that validate the page speed.
|
|
32a71d6
to
eaa5de4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #160 +/- ##
==========================================
- Coverage 97.19% 97.19% -0.01%
==========================================
Files 8 8
Lines 714 712 -2
==========================================
- Hits 694 692 -2
Misses 20 20 ☔ View full report in Codecov by Sentry. |
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.
Approved. Looks great, thanks for adding the README as well and linking to the Best Practices doc. I was able to update your chosen tags in our wiki doc too. Great Job.
@@ -6,8 +6,7 @@ export default async function init(el) { | |||
const resp = await fetch(url); | |||
|
|||
if (!resp?.ok) { | |||
// eslint-disable-next-line no-console | |||
console.log(`Error fetching data from url: ${url}`); | |||
window.lana?.log(`Error fetching data from url: ${url}`, { tags: 'info, faas-decode' }); |
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.
I remember the tags being encoded at one point, I'm not sure if the space after the comma yields the expected results. Was this tested with the stage logs?
Resolves: MWPW-138026
Test URLs: