drinks-it/monitoring
Composer 安装命令:
composer require drinks-it/monitoring
包简介
Miscellaneous monitoring tools
README 文档
README
OPSGENIE_API_KEY env var should be defined, otherwise 'Could not authenticate' error occurrs (safe fail, no exceptions)
Usage:
<?php require_once __DIR__ . '/vendor/autoload.php'; $ops = new \Monitoring\Alert\Opsgenie(); $desc = <<< MSG <strong>Alert H1</strong> <a href="https://www.example.com">Click</a> here Simple Text is also fine you can do some line brakes. Like this. MSG; var_dump($ops->raise("Alert subject", $desc));
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-05-17