myumc/udpmitorclient

There is no license information available for the latest version (dev-master) of this package.

regularly send monitoring data to the server

Maintainers

Package info

github.com/tangjhang/udpMonitorClient

Type:1

pkg:composer/myumc/udpmitorclient

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2022-04-26 09:48 UTC

This package is auto-updated.

Last update: 2026-03-26 17:54:42 UTC


README

定时向服务端发监控数据 Regularly send monitoring data to the server

在process文件的配置如下:

'udpMonitorClient' => [
        'enable' => true,
        'handler' => \UdpMonitorClient\process\UdpMonitorClient::class,
        'constructor' => [
            // 消费者类目录
            'host' => 'udp://127.0.0.1',    //修改为服务端的地址
            'port' => '9090',         //服务端端口
            'site' => 'md_official',  //网站名称,唯一,避免和其他网站冲突
            'time_num' => 55         //定时向服务端发送数据的时间,默认55
        ]
    ],