From 7f81cf9c78d2757d252953a34d5daa62449da996 Mon Sep 17 00:00:00 2001 From: Luc Vieillescazes Date: Wed, 25 Nov 2026 10:47:34 +0100 Subject: [PATCH] fix(rum): rename content type skip reason to unsupported_content_type Use the same reason as nginx and IIS. Refs INPLAT-1454. --- mod_datadog/src/rum/filter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod_datadog/src/rum/filter.cpp b/mod_datadog/src/rum/filter.cpp index 062fecf..5a4d9ca 100644 --- a/mod_datadog/src/rum/filter.cpp +++ b/mod_datadog/src/rum/filter.cpp @@ -159,8 +159,8 @@ static bool should_inject(rum_filter_ctx& ctx, request_rec& request, APLOG_MARK, APLOG_DEBUG, 0, &request, "[RUM] Skip injection: \"Content-Type: %s\" does not match text/html.", content_type ? content_type : ""); - count_injection(telemetry::injection_skipped, "reason:content-type", - rum_conf); + count_injection(telemetry::injection_skipped, + "reason:unsupported_content_type", rum_conf); ctx.state = InjectionState::done; return false; }