avoutic/web-framework-sentry
最新稳定版本:3.0.1
Composer 安装命令:
composer require avoutic/web-framework-sentry
包简介
Sentry module for web-framework
README 文档
README
Sentry instrumentation for WebFramework, providing performance monitoring and tracing capabilities.
Installation
composer require web-framework/sentry
Make sure the definitions file is included in your project by adding it to definition_files in your config.php file:
return [ 'definition_files' => [ '../vendor/avoutic/web-framework/definitions/definitions.php', '../vendor/avoutic/web-framework-sentry/definitions/definitions.php', 'app_definitions.php', ], ];
Usage
The module provides Sentry integration for WebFramework, enabling performance monitoring and distributed tracing. It implements the WebFramework Instrumentation interface to track transactions and spans.
To use Sentry for instrumentation you need to add it in your PHP-DI definitions:
<?php namespace WebFramework; use DI; return [ Core\Instrumentation::class => DI\autowire(Core\SentryInstrumentation::class),
License
This package is proprietary software. All rights reserved.
统计信息
- 总下载量: 231
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-29