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

Test: Add CLA Corporate Console to Datadog Session Replays #4440

Open
thakurveerendras opened this issue Sep 11, 2024 · 1 comment
Open

Test: Add CLA Corporate Console to Datadog Session Replays #4440

thakurveerendras opened this issue Sep 11, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@thakurveerendras
Copy link
Contributor

Summary

Add CLA Corporate Console to Datadog Session Replays

Background

We need to instrument Session Replay on the CLA Corporate Console to help with troubleshooting issues there. We have the section ready in Datadog at https://app.datadoghq.com/rum/sessions?query=%40application.id%3Aea9b5eb2-c3e0-4e58-a5a6-b3c41212dd05 %40type%3Asession&agg_m=count&agg_m_source=base&agg_t=count&cols=&fromUser=false&track=rum&from_ts=1723068256724&to_ts=1723154656724&live=true
This would be set up the same as the Organization Dashboard is, making sure that we get the User’s username to come through as the User ID in datadog in order to search replays.
Documentation : RUM Browser Monitoring Setup

The values in DD for the Easycla Corporate console are:

import { datadogRum } from '@datadog/browser-rum';

datadogRum.init({
applicationId: 'ea9b5eb2-c3e0-4e58-a5a6-b3c41212dd05',
clientToken: 'pubb7e17154a9ac48f85b92ad67e1de451a',
// site refers to the Datadog site parameter of your organization
// see https://docs.datadoghq.com/getting_started/site/
site: 'datadoghq.com',
service: 'easycla-corporate-console',
env: '<ENV_NAME>',
// Specify a version number to identify the deployed version of your application in Datadog
// version: '1.0.0',
sessionSampleRate: 100,
sessionReplaySampleRate: 20,
trackUserInteractions: true,
trackResources: true,
trackLongTasks: true,
defaultPrivacyLevel: 'mask-user-input',
});

@thakurveerendras thakurveerendras added the bug Something isn't working label Sep 11, 2024
@thakurveerendras thakurveerendras self-assigned this Sep 11, 2024
@thakurveerendras
Copy link
Contributor Author

Tested dataDog traces & session on the dev site & found that it properly appears
Refer to the screenshot
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant