grafite/mission-control
Composer 安装命令:
composer require grafite/mission-control
包简介
The PHP agnostic package for Mission Control (Grafite Inc)
README 文档
README
Mission Control PHP Package - Send data to Grafite's Mission Control system to stay in control of your applications.
Grafite's Mission Control is an elegant Application Performance Management system. Forget being inundated with hundreds of charts and complex configurations for CMS websites, custom E-commerce platforms etc. Utilize the simple user interface, with specific data for high demand moments. Get notifications within minutes of your system being overloaded, or high levels of errors being triggered. Set it up in less than 5 minutes with your next deployment, and take back your weekends.
Requirements
- PHP 7.3+
Composer
composer require grafite/mission-control
IssueService
IssueService lets you peak into your exceptions or any tagged messages you'd like to track. You can do so using the following methods:
use Grafite\MissionControl\IssueService;
try {
// do some code
} catch (Exception $e) {
$issueService = new IssueService('{API Token}', '{Project Key}');
$issueService->exception($e);
}
Or if you just want to flag an potential issue or concern in your applicaiton:
use Grafite\MissionControl\IssueService;
$issueService = new IssueService('{API Token}', '{Project Key}');
$issueService->log('Anything you want to say goes here', 'tag');
Tags
Tags can be any terminology you want, to help sort through your issues.
NotifyService
You can easily give yourself tagged notifications for your applications through this handy service.
use Grafite\MissionControl\NotifyService;
(new NotifyService('{API Token}', '{Project Key}'))->send('This is a title', 'info', 'This is a custom message');
JavaScriptService
Want to get notified when users have JavaScript issues, just place this at the end of your scripts in your app templates.
echo (new Grafite\MissionControl\JavaScriptService($uuid, $key))->render();
PerformanceService
Add this cron job to enable PerformanceService which scans your system to report back to mission control the state of your server.
*/5 * * * * /{app-path}/vendor/bin/performance {API token}
License
Mission Control PHP Package is open-sourced software licensed under the MIT license
Bug Reporting and Feature Requests
Please add as many details as possible regarding submission of issues and feature requests
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
grafite/mission-control 适用场景与选型建议
grafite/mission-control 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5.89k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 08 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 grafite/mission-control 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 grafite/mission-control 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 5.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 21
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-08-23