tiime/newrelic-bundle
Symfony bundle that integrates New Relic monitoring into your app, handling transaction naming, custom metrics, and exception tracking with minimal boilerplate. Simplifies APM setup so developers get clearer visibility into performance and errors.
Adopt-consider criteria:
newrelic_name_transaction, newrelic_add_custom_parameter, and distributed-trace header propagation across Symfony's HTTP client and Messenger. Generic OpenTelemetry instrumentation covers traces well but is clumsier for New Relic's event and NRQL model.Look elsewhere when:
ekino/newrelic-bundle is the de facto community standard for Symfony and has the install base, issue history, and Symfony-version coverage this package does not. Absent a specific reason to prefer Tiime's, ekino is the lower-risk default.open-telemetry/symfony-sdk-bundle) and export to New Relic via OTLP. You lose some New Relic-native sugar and gain an exit.Recommended posture: timeboxed spike, not foundational dependency. Two engineer-days to evaluate against ekino and raw-agent autoconfiguration, with an explicit exit criterion (does it cleanly instrument Messenger consumers and let us tag business KPIs without patching?). If yes, vendor the code into an internal package. If no, default to ekino or plain agent config.
To executives (one paragraph): This is a small, MIT-licensed Symfony add-on that makes our New Relic monitoring reflect our business rather than generic HTTP timing — so an on-call engineer can tell within seconds whether a latency spike is a payment path, a background job, or a health-check artifact. It is not a new vendor and not a new cost center; it only matters if we've already committed to New Relic. The honest caveat: it has almost no adoption (2 stars, 0 dependents, one publisher), so we should treat it as code we adopt and own, cap the evaluation at a couple of engineer-days, and fall back to the established community bundle if it doesn't clearly earn its place. Low cost to try, low cost to abandon — the decision it informs (New Relic vs. OpenTelemetry for PHP) is the one worth spending management attention on.
To engineering (the substance): It's a thin config-and-compiler-pass layer over the New Relic PHP agent — transaction naming, custom parameters/events, ignore rules, and HTTP client / Messenger trace propagation, configured declaratively instead of hand-wired per service. Two constraints to internalize before we invest: (1) it's Symfony-only, so our Laravel services get nothing from it; (2) with 0 dependents and a single publishing org, we must vendor or fork it rather than float on it, and we own upgrades. The evaluation is a bake-off against ekino/newrelic-bundle and against plain agent autoconfiguration — judged solely on whether it lets us name Messenger transactions and attach tenant/KPI context without monkey-patching. If it doesn't beat ekino on that narrow test, we take ekino and move on. Separately, flag for the platform conversation: any New Relic-specific instrumentation deepens our APM commitment and makes an OpenTelemetry migration a re-instrumentation effort — decide that deliberately, not by default.
How can I help you explore Laravel packages today?