Skip to content

fix(rum): rename missing_header_tag reason to no_injection_point - #156

Merged
iamluc merged 1 commit into
mainfrom
luc.vieillescazes/rum-no-injection-point
Nov 25, 2026
Merged

iamluc merged 1 commit into
mainfrom
luc.vieillescazes/rum-no-injection-point

Conversation

@iamluc

@iamluc iamluc commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Overview

Rename the RUM failed reason reason:missing_header_tag to reason:no_injection_point. It stays
in injection.failed. Also document the counter rule next to the counters:

  • skipped: not tried, decided from the headers or the config.
  • failed: an eligible HTML response we tried but did not inject.

Motivation

nginx (DataDog/nginx-datadog#504) and IIS (DataDog/inject-browser-sdk#196) use the same name, so
the telemetry is consistent across proxies. Dashboards or monitors that filter on
missing_header_tag must switch to no_injection_point.

Additional Notes

Tested:

  • make test-integration: 136 passed, 1 skipped.
  • Manual check in the devcontainer with a fake agent: an HTML fragment with no <head> sends
    injection.failed with reason:no_injection_point.

References

Jira ticket: INPLAT-1454

Contributor Checklist

  • I am the author of this pull request and I own it.
  • I reviewed every line of this pull request.
  • This pull request follows the Contributing Guidelines.

Use the same reason as nginx and IIS. Document the skipped and failed counter rule. Refs INPLAT-1454.
@datadog-prod-us1-5

Copy link
Copy Markdown

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 54.64% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: decad23 | Docs | Give us feedback!

@iamluc
iamluc marked this pull request as ready for review November 25, 2026 12:43
@iamluc
iamluc requested a review from a team as a code owner November 25, 2026 12:43
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T12:44:30.525132Z decad23 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-25T12:46:02.516080Z decad23 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@iamluc
iamluc merged commit 7786278 into main Nov 25, 2026
42 checks passed
@iamluc
iamluc deleted the luc.vieillescazes/rum-no-injection-point branch November 25, 2026 13:13
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.

2 participants