Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Messenger Newrelic Laravel Package

arxus/messenger-newrelic

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Observability & Debugging: Enables granular transaction tracking for Symfony Messenger messages in New Relic, improving visibility into async workflows (e.g., background jobs, event-driven processes).
  • Performance Optimization: Identifies bottlenecks in message processing (e.g., slow handlers, retries) by correlating message names with transaction latency.
  • Roadmap for Async Systems: Justifies investment in Symfony Messenger for high-throughput systems (e.g., order processing, notifications) by reducing blind spots in monitoring.
  • Build vs. Buy: Avoids custom middleware development for New Relic integration, reducing technical debt and maintenance overhead.
  • Use Cases:
    • Microservices with distributed messaging.
    • High-volume event-driven architectures (e.g., real-time analytics).
    • Compliance-heavy systems requiring audit trails for async operations.

When to Consider This Package

  • Adopt if:

    • Using Symfony Messenger (v4–7) with New Relic for observability.
    • Processing messages asynchronously and need per-message transaction tracking.
    • Already invested in New Relic for APM and want to extend coverage to async workflows.
    • Running PHP 8.0+ and Symfony 4.3+.
  • Look elsewhere if:

    • Using non-Symfony frameworks (e.g., Laravel, custom queues).
    • Not using New Relic (alternatives: Datadog, Sentry, or custom logging).
    • Messages are synchronous or handled via HTTP (use middleware like NewRelic\Agent directly).
    • Need advanced queue metrics (e.g., retry counts, throughput) beyond transaction names.

How to Pitch It (Stakeholders)

Executives: "This package bridges a critical gap in our observability stack by automatically tracking Symfony Messenger jobs in New Relic. For every message processed—whether it’s an order confirmation, payment webhook, or analytics event—we’ll get a dedicated transaction in New Relic. This turns opaque async workflows into actionable insights, reducing MTTR for failures and validating performance SLAs. Minimal setup (5-minute config change) with zero runtime overhead."

Engineering: *"The package adds a lightweight middleware to Symfony’s Messenger bus, notifying New Relic of each message as a transaction. Key benefits:

  • No code changes: Plugs into existing messenger.yaml.
  • Symfony 7 support: Future-proof for our upgrade path.
  • Extensible: Supports custom transaction names via NameableNewrelicTransactionInterface.
  • Low risk: MIT-licensed, 20+ stars, and actively maintained (latest release June 2024). Tradeoff: Limited to New Relic, but aligns with our existing APM strategy."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours