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

MWPW-138026 Add tags to lana logs #160

Merged
merged 1 commit into from
Dec 11, 2023
Merged

MWPW-138026 Add tags to lana logs #160

merged 1 commit into from
Dec 11, 2023

Conversation

Brandon32
Copy link
Contributor

Copy link

aem-code-sync bot commented Dec 7, 2023

Hello, I'm the AEM Code Sync Bot and I will run some test suites that validate the page speed.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-run PSI Checks

Copy link

aem-code-sync bot commented Dec 7, 2023

Page Scores Audits Google
/?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3833c81) 97.19% compared to head (eaa5de4) 97.19%.

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.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@amauch-adobe amauch-adobe left a 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' });

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?

@Brandon32 Brandon32 merged commit 9cdcf00 into main Dec 11, 2023
8 checks passed
@Brandon32 Brandon32 deleted the bmarshal/lana-logs branch December 11, 2023 17:29
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.

5 participants