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

Chore/datadog instrumentation #744

Merged
merged 5 commits into from
Jul 30, 2024
Merged

Conversation

omkarb
Copy link
Collaborator

@omkarb omkarb commented Jul 30, 2024

What changed? Why?
Add datadog instrumentation for base-web

Notes to reviewers

How has it been tested?

Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
base-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 30, 2024 9:06pm
web-base-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 30, 2024 9:06pm

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Jul 30, 2024

✅ Heimdall Review Status

Requirement Status More Info
Reviews 2/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

Comment on lines 434 to 435
'https://app.datadoghq.com', // datadog
'datadoghq.com' // datadog
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'https://app.datadoghq.com', // datadog
'datadoghq.com' // datadog
'https://*.datadoghq.com', // datadog

I think you can wildcard this to get https enforcement and auth all subdomains

Comment on lines 20 to 21
DD_CLIENT_ID=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: would be nice to have DATADOG for clarity

Comment on lines 102 to 103
'https://app.datadoghq.com', // datadog
'datadoghq.com' // datadog
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment above re: wildcard/https

JFrankfurt
JFrankfurt previously approved these changes Jul 30, 2024
ricardoMogg
ricardoMogg previously approved these changes Jul 30, 2024
import { datadogRum } from "@datadog/browser-rum";

datadogRum.init({
applicationId: process.env.DD_APP_ID || "",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build is failing, wants ?? instead of || ditto below

@cb-heimdall cb-heimdall dismissed stale reviews from JFrankfurt and ricardoMogg July 30, 2024 20:53

Approved review 2208625175 from JFrankfurt is now dismissed due to new commit. Re-request for approval.

@zencephalon zencephalon merged commit c3c6f51 into master Jul 30, 2024
7 checks passed
@zencephalon zencephalon deleted the chore/datadog-instrumentation branch July 30, 2024 22:04
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