承接 hostatlas/queue-monitor 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hostatlas/queue-monitor

Composer 安装命令:

composer require hostatlas/queue-monitor

包简介

Push Laravel queue metrics to HostAtlas for monitoring, alerting, and visualization.

README 文档

README

Push Laravel queue metrics to HostAtlas for real-time monitoring, alerting, and visualization.

HostAtlas is an infrastructure visibility platform with 340+ features — server monitoring, uptime checks, incident management, attack defense, AI analysis, and more. The Queue Monitor package connects your Laravel queues to the HostAtlas dashboard, so you can track queue health alongside the rest of your infrastructure.

Sign up free — no credit card required.

Requirements

  • PHP 8.2+
  • Laravel 11 or 12
  • A HostAtlas account with an API key

Installation

composer require hostatlas/queue-monitor

The service provider is auto-discovered. No manual registration needed.

Configuration

Publish the config file:

php artisan vendor:publish --tag=hostatlas-queue-config

Add to your .env:

HOSTATLAS_URL=https://my.hostatlas.app
HOSTATLAS_API_KEY=ha_your_api_key_here
HOSTATLAS_SERVER=web-prod-01
Variable Description Default
HOSTATLAS_URL Your HostAtlas instance URL https://my.hostatlas.app
HOSTATLAS_API_KEY API key from HostAtlas (Settings > API Keys)
HOSTATLAS_SERVER Server hostname (must match a server in HostAtlas) System hostname

Queue Selection

By default, all queues are auto-detected. To monitor specific queues only, edit config/hostatlas-queue.php:

'queues' => ['default', 'emails', 'notifications'],

Use ['*'] to auto-detect all queues (default).

Usage

Via Scheduler (recommended)

Add to your routes/console.php:

Schedule::command('hostatlas:queue-metrics')->everyMinute();

Manual

php artisan hostatlas:queue-metrics

Example output:

  default: 42 pending, 2 failed
  emails: 8 pending, 0 failed
  Queue metrics reported to HostAtlas.

Supported Queue Drivers

Driver Auto-detect Queues Metrics
Redis Yes (scans Redis keys) Size, failed, system type
Database Yes (groups by queue column) Size, failed, processing count
SQS No (uses configured queue) Size

What Gets Reported

Each queue reports:

  • Queue name — auto-detected or configured
  • Pending jobs — current queue size
  • Failed jobs — count from failed_jobs table
  • Processing jobs — currently being processed (database driver)
  • System typelaravel (auto-set)

API Push Endpoint

The package pushes to POST {HOSTATLAS_URL}/api/v1/queue/push with Bearer token authentication. You can also push metrics from any language or framework using the same endpoint:

curl -X POST https://my.hostatlas.app/api/v1/queue/push \
  -H "Authorization: Bearer ha_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "server": "web-prod-01",
    "queues": [
      {"name": "default", "size": 42, "failed": 2, "processing": 3, "system": "laravel"}
    ]
  }'

Multi-System Support

The HostAtlas queue dashboard supports metrics from multiple systems:

  • Laravel (this package)
  • BullMQ (Node.js — via API push)
  • Sidekiq (Ruby — via API push)
  • Celery (Python — via API push)

Security

  • API key is transmitted via Authorization: Bearer header over HTTPS
  • No sensitive data is collected — only queue names and counts
  • 10-second HTTP timeout per request
  • Errors are reported via Laravel's report() helper (logged, never thrown)

License

MIT License. See LICENSE for details.

Built by Akyros Labs LLChello@akyroslabs.com

HostAtlas | Documentation | Sign up free

hostatlas/queue-monitor 适用场景与选型建议

hostatlas/queue-monitor 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 04 月 03 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「redis」 「queue」 「monitoring」 「laravel」 「horizon」 「hostatlas」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 hostatlas/queue-monitor 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 hostatlas/queue-monitor 我们能提供哪些服务?
定制开发 / 二次开发

基于 hostatlas/queue-monitor 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 43
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-03