在Windows和Linux上 使用Prometheus Grafana监视spring boot在Linux上 使用python
Windows操作系统操作系统和Linux操作系统操作系统上使用普罗米修斯格拉夫纳监控跳羚一、跳羚代码修改1.引入专家依赖2.启动类新增代码3.应用程序。属性文档配置二、Windows中普罗米修斯和
顺晟科技
2021-07-06 13:32:14
119
laravel-exception-notify - 支持多种通道的 laravel 异常监控通知(钉钉群机器人、飞书群机器人、Server 酱、企业微信群机器人、息知)。
$ composer require guanguans/laravel-exception-notify -vvv$ php artisan vendor:publish --provider="Guanguans\\LaravelExceptionNotify\\ExceptionNotifyServiceProvider"config/exception-notify.php
app/Exceptions/Handler.php 文件中的 report 方法public function report(Exception $exception)
{
    // 添加的代码
    $this->shouldReport($exception) and \ExceptionNotifier::report($exception);
    // // 或者
    // $this->shouldReport($exception) and app('exception.notifier')->report($exception);
    // // 或者
    // $this->shouldReport($exception) and \Guanguans\LaravelExceptionNotify\Facades\Notifier::report($exception);
    parent::report($exception);
}



02
2022-12
06
2021-07
25
2021-06