Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mod_datadog/src/rum/filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static void end_injection(rum_filter_ctx& ctx, request_rec& request,
ctx.state = InjectionState::done;
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, &request,
"[RUM] Skip injection: no injection point found.");
count_injection(telemetry::injection_failed, "reason:missing_header_tag",
count_injection(telemetry::injection_failed, "reason:no_injection_point",
rum_conf);
}

Expand Down
2 changes: 2 additions & 0 deletions mod_datadog/src/rum/telemetry.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ auto build_tags(T&&... specific_tags) {
return tags;
}

// skipped: not tried, decided from the headers or the config.
// failed: an eligible HTML response we tried but did not inject.
const extern datadog::telemetry::Counter injection_skipped;
const extern datadog::telemetry::Counter injection_succeed;
const extern datadog::telemetry::Counter injection_failed;
Expand Down
Loading