Weave 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

Monolog Enricher Laravel Package

newrelic/monolog-enricher

New Relic Monolog Enricher adds New Relic linking metadata to Monolog log records, helping correlate PHP application logs with traces and errors for faster debugging and observability.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature: Enables Laravel/PHP services using Monolog to enrich and route application logs to New Relic Logs, improving log correlation with APM traces and reducing mean time to resolution during incidents.
  • Roadmap: Supports observability consolidation if New Relic is already the strategic APM/logging vendor. Fits a roadmap item around centralized logging, structured context, SLO/error-budget reporting, and faster production debugging.
  • Build vs. buy: Favors “adopt or fork” over custom build because it is a small Apache-2.0 Monolog component. However, the 2021 last release, 25 stars, and 0 dependents mean it should be treated as a low-maintenance-risk dependency requiring pinning, tests, and a fork/exit plan—not a strategic platform bet.
  • Use cases: Laravel apps already instrumented with New Relic; Monolog channels that need New Relic Logs forwarding; adding request, user, tenant, or trace context to logs; migrating from local/stdout logs to New Relic Logs without building a custom handler.

When to Consider This Package

  • You are already committed to New Relic and want Laravel/Monolog logs enriched and forwarded with minimal custom code.
  • Your team accepts open-source dependencies with low adoption and can pin, vendor, or fork the package if needed.
  • The integration scope is narrow and time-boxed, and you can validate it against New Relic’s current recommended log-forwarding path.
  • You need a quick pilot for log/APM correlation and have a fallback such as the New Relic PHP agent’s native capabilities, OpenTelemetry Collector, Fluent Bit, or a custom Monolog handler.
  • Look elsewhere if you are not on New Relic, require vendor support/SLA, need active maintenance and recent security audits, operate high-volume logging with strict buffering/backpressure requirements, or are standardizing on OpenTelemetry-first observability.

How to Pitch It (Stakeholders)

  • Executives: This is a low-cost way to improve observability in Laravel services by connecting application logs to New Relic, which can shorten incident diagnosis and improve operational reporting. Approve only as a time-boxed pilot because the package is stale and has low adoption; require a fallback and maintenance owner.
  • Engineering: It is a Monolog-native, Apache-2.0 integration that is straightforward to vendor or fork. The risks are the 2021 release, zero dependent signals, and no vendor SLA. Recommend a short spike, version pinning, automated tests, comparison against New Relic’s native log forwarding and OpenTelemetry alternatives, and a documented exit path before production adoption.
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.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route