feat: add Insights Datadog RUM config - #368
Merged
Merged
Conversation
santhosh-apphelix-2u
force-pushed
the
insights-datadog-rum-config
branch
4 times, most recently
from
August 14, 2026 07:24
79cc702 to
e716b30
Compare
santhosh-apphelix-2u
force-pushed
the
insights-datadog-rum-config
branch
from
August 17, 2026 05:59
e716b30 to
2e8e67a
Compare
Alam-2U
approved these changes
Aug 17, 2026
There was a problem hiding this comment.
Pull request overview
Adds dedicated Datadog RUM (Real User Monitoring) configuration for the Insights service by introducing INSIGHTS_DATADOG_RUM_* defaults and wiring them into INSIGHTS_CONFIG, so the generated /edx/etc/insights.yml can expose DATADOG_RUM_* settings to edx-analytics-dashboard. Also modernizes the GitHub Actions Python setup steps in CI workflows.
Changes:
- Added default-disabled
INSIGHTS_DATADOG_RUM_*variables (application ID, client token, sampling, privacy settings, etc.). - Wired the new RUM variables into
INSIGHTS_CONFIGasDATADOG_RUM_*entries for config-file generation. - Updated CI workflows to use
actions/setup-python@v6and quote the matrix Python version.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| playbooks/roles/insights/defaults/main.yml | Adds Insights Datadog RUM defaults and exports them via INSIGHTS_CONFIG for the generated Insights YAML config. |
| .github/workflows/syntax-test.yml | Updates Python setup action/version formatting for the syntax test workflow. |
| .github/workflows/playbook-test.yml | Updates Python setup action/version formatting for the playbook test workflow. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| python-version: ['3.9'] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 |
| python-version: ['3.9'] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds dedicated Datadog RUM configuration variables for the Insights service.
This wires
INSIGHTS_DATADOG_RUM_*values intoINSIGHTS_CONFIGso they are written into the generated Insights config file and can be read byedx-analytics-dashboard.Changes
DATADOG_RUM_*values toINSIGHTS_CONFIG.