hawkflow/hawkflow-php
最新稳定版本:v1.0.4
Composer 安装命令:
composer require hawkflow/hawkflow-php
包简介
HawkFlow.ai
README 文档
README
HawkFlow.ai
Monitoring for anyone that writes code
- Install:
composer update - Usage:
<?php require 'vendor/autoload.php'; use HawkFlow\HawkFlow\HawkFlow; // Authenticate with your API key $hf = new HawkFlow("YOUR_API_KEY"); // Start timing your code - pass through process (required) and meta (optional) parameters echo "Sending timing start data to hawkflow\n"; $hf->start("your_process_name", "your_meta_data"); // Do some work echo "Sleeping for 5 seconds...\n"; sleep(5); // End timing this piece of code - process (required) and meta (optional) parameters should match the start echo "Sending timing end data to hawkflow\n"; $hf->end("your_process_name", "your_meta_data");
More examples: HawkFlow.ai PHP examples
Read the docs: HawkFlow.ai documentation
What is HawkFlow.ai?
HawkFlow.ai is a new monitoring platform that makes it easier than ever to make monitoring part of your development process. Whether you are an Engineer, a Data Scientist, an Analyst, or anyone else that writes code, HawkFlow.ai helps you and your team take ownership of monitoring.
Testing this package
- Install dependencies:
composer update --dev - Run tests:
./vendor/bin/phpunit --verbose tests
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-04