department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 205 forks source link

DR | Add Datadog logging for validation errors that prevent submission #72855

Closed Mottie closed 9 months ago

Mottie commented 10 months ago

Value Statement

As a developer I want to investigate why form submission is blocked So that we can fix the issue preventing Veteran's from submitting our form

Background Context

After working on #71344 and finding it difficult to find and evaluate Veterans having similar validation issues, we split out the work into this ticket...

When a Veteran has validation issues after attempting to submit their form, a generic error message is shown, and a "Validation issue not displayed" event is logged in Sentry. This event includes all the validation issues & error messages, but we aren't able to see this in Datadog. So we need to add logs specific for Datadog so we can see & cross-reference the problem within our dashboard (reference docs)

Acceptance Criteria

Tasks

Definition of Ready

Definition of Done

Mottie commented 10 months ago

I'm meeting with another team that has more experience with Datadog logging on 1/12/2024. I also have a plan to meet with Steve Albers about adding Datadog JavaScript logging to the site — not sure if it's implemented or needed, but I'll have a better idea after the meeting with the other team.

saderagsdale commented 10 months ago

Steve is going to confirm the cost before the work is approved. Blocked for now.

Mottie commented 10 months ago

Steve Albers has told me to go ahead and proceed 🎉

HeatherWidmont commented 10 months ago

DD team will review his PR to ensure its set up properly & will get back to him (hopefully today). Once its reviewed Robin will take it out of draft, have our team & Platform team review it

rubensun commented 9 months ago

Next office hours on Monday. @Mottie to ping Steve Albers

HeatherWidmont commented 9 months ago

@Mottie met with DD team this morning & they pinged another developer to review the PR. Still blocked

HeatherWidmont commented 9 months ago

@Mottie emailed helpdesk & they said they will take it to the team & will get back to us. That was on Friday 2/2

HeatherWidmont commented 9 months ago

@Mottie added Sade to the email thread, still haven't heard anything back yet

HeatherWidmont commented 9 months ago

@Mottie received an email from Fred at DD who reviewed it. Platform & @data-doge to review

HeatherWidmont commented 9 months ago

Entire FE is blocked because unit test failures won't pass. They're still trying to figure it out https://dsva.slack.com/archives/C05FCEH2NRG/p1707844087730839. This PR is ready to get merged in