vortos/vortos-observability 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

vortos/vortos-observability

最新稳定版本:v1.0.0-alpha-76

Composer 安装命令:

composer require vortos/vortos-observability

包简介

Publishable observability templates for Prometheus, Grafana, Alertmanager, Datadog, and New Relic

README 文档

README

This module publishes optional starter assets for common observability stacks. It does not export telemetry, call external services, or run in the request path.

Vortos runtime modules emit standard signals:

  • metrics through Prometheus or StatsD
  • traces through OpenTelemetry OTLP
  • logs as structured JSON to stdout/stderr
  • health endpoints through the foundation module

The templates help teams bootstrap dashboards and alert rules for those signals.

Messaging applications also export operational gauges for the transactional outbox and dead-letter queue:

  • vortos_outbox_backlog_size{transport,status}
  • vortos_outbox_oldest_pending_age_seconds{transport}
  • vortos_dlq_backlog_size{transport,event}
  • vortos_dlq_oldest_failed_age_seconds{transport}

With Prometheus these are refreshed during /metrics scrapes. With push-style backends such as StatsD, schedule php bin/console vortos:metrics:collect from one worker per environment so gauges are emitted without adding work to normal request handling.

Commands

php bin/console vortos:observability:list
php bin/console vortos:observability:publish --stack=grafana-oss
php bin/console vortos:observability:publish --stack=datadog
php bin/console vortos:observability:publish --stack=newrelic

Published files are written under observability/.

Use --dry-run to preview and --force to overwrite existing files.

Stacks

  • prometheus: recording and alert rules
  • grafana: Grafana dashboard JSON
  • alertmanager: Alertmanager routing example
  • grafana-oss: Prometheus + Grafana + Alertmanager
  • datadog: Datadog dashboard and monitor examples
  • newrelic: New Relic dashboard and alert examples

All thresholds and notification routes are examples. Review and tune them per environment before production use.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固