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

Agent Laravel Package

nightowl/agent

NightOwl Agent is a lightweight Laravel package that instruments your application and streams request, query, job, and exception telemetry to a NightOwl monitoring server, giving you performance and error insights with minimal setup and overhead.

View on GitHub
Deep Wiki
Context7

Self-hosted Laravel monitoring agent. Drop-in Nightwatch alternative, open-source.

Frequently asked questions about Agent
What is NightOwl Agent and what problem does it solve for Laravel apps?
NightOwl Agent is a lightweight, self-hosted Laravel package that instruments your application and streams request, query, job, and exception telemetry to a NightOwl monitoring server. It acts as an ingestion adapter in the observability pipeline, writing batches into PostgreSQL, and is positioned as an open-source, drop-in Nightwatch alternative. It is not a full observability platform or UI; your own query layer is the interface.
How do I install and configure nightowl/agent in a Laravel project?
Install the package via Composer, publish its configuration, point it at a PostgreSQL connection, and run a supervised worker process. Mechanically this is straightforward for a Laravel team, and the evaluation suggests a staging spike can be done in hours. However, there is no documented compatibility matrix against Nightwatch versions, so validate payload fidelity against your current Nightwatch release before trusting it in production.
Is NightOwl Agent a drop-in replacement for Laravel Nightwatch?
It is marketed as a drop-in Nightwatch alternative, but the technical evaluation describes it as a protocol adapter plus persistence layer rather than a full replacement. Its critical coupling is to Nightwatch's wire format, which is a young first-party product with a moving payload schema. Verify payload fidelity and whether Nightwatch's license and terms permit third-party collection before treating it as a true drop-in.
Which Laravel and PHP versions are supported, and which Nightwatch protocol version does it target?
The provided context does not include a documented compatibility matrix for PHP or Laravel versions, nor does it identify a specific Nightwatch protocol version. That is a key validation gap, so check the repository and pinned Nightwatch version range before adopting. Confirm behavior under Horizon, Octane, and multi-node deployments as part of your staging spike.
What database does NightOwl Agent use, and how should I handle storage and retention?
PostgreSQL is the store in the evaluated architecture, with the agent described as a queue-backed daemon writing batches into a relational store. The assessment warns that Postgres is a poor default sink for high-volume telemetry without time-based partitioning, retention jobs, and a dedicated instance rather than co-locating with your application database. It is unclear from the context whether the schema uses JSONB, partitioning, or TTL, so design and size storage from real telemetry volume.
Does NightOwl Agent batch telemetry, sample requests, apply backpressure, and retry on database errors?
The evaluation says there is no documented evidence of the batching contract, auth, or retry semantics, and it is unclear whether the agent samples or applies backpressure. Those behaviors matter because silent breakage with observability loss is the failure mode. Treat batching, sampling, backpressure, and Postgres error retries as questions to verify in a staging spike rather than assumptions.
How do I run NightOwl Agent in production with Horizon, Octane, or multiple app nodes?
Each app node needs its own agent path or a shared ingestion endpoint, and the worker should be supervised with systemd or Supervisor. Confirm behavior under Horizon, Octane, and multi-node deployments, and instrument the monitor itself with agent heartbeat, ingestion lag, write latency, and queue depth. The evaluation also recommends a dedicated PostgreSQL database or instance for telemetry to avoid a self-inflicted outage path.
Can I test NightOwl Agent in staging and compare it against Nightwatch SaaS before cutover?
Yes, a parallel run is the recommended migration path because telemetry is additive and non-destructive. Run the agent alongside the current Nightwatch SaaS destination and diff fidelity over one to two weeks, cutting over non-production first and retaining the SaaS sink as a rollback for at least a sprint. This validates the payload contract before you depend on the self-hosted path.
Is NightOwl Agent actively maintained, and what are the adoption and maintenance risks?
Adoption signals are weak: 122 stars, zero dependents, a score of 1, and a single maintainer, so bus factor and release cadence are real concerns. The agent also inherits churn from Nightwatch's young wire format, and observability loss is the failure mode if upstream changes break ingestion. Telemetry stores query text and request metadata, so PII handling, database access control, and whether Nightwatch's terms permit third-party collection are now your responsibility.
What are the alternatives to NightOwl Agent for self-hosted Laravel monitoring?
Alternatives include continuing with Nightwatch SaaS or building a custom ingestion pipeline on Laravel's instrumentation. Self-hosting NightOwl Agent is best suited to mid-size Laravel estates with existing PostgreSQL operational competence and a data-residency mandate. Evaluate the license and terms of Nightwatch before consuming its data stream outside the SaaS.
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.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections