定制 talentrydev/monitoring-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

talentrydev/monitoring-bundle

最新稳定版本:6.1.1

Composer 安装命令:

composer require talentrydev/monitoring-bundle

包简介

Symfony bundle integrating talentrydev/monitoring library

README 文档

README

This is a Symfony bundle used for integrating talentrydev/monitoring library into a Symfony project.

Installing

  • Run:
composer require talentrydev/monitoring-bundle
  • Add the MonitoringBundle to your kernel's registerBundles method:
return [
    //...
    new \Talentry\MonitoringBundle\MonitoringBundle();
];

Configuring

The bundle exposes the following configuration options:

OptionTypeDefault valueDescription
enabledbooleantrueSet to false to disable monitoring bundle
namespacestringProductionNamespace for publishing metrics
statsdProtocolstringstandardStatsD protocol (see below for more details)
statsdHoststringlocalhostStatsD server host
statsdPortinteger8125StatsD server port
queuestringnullQueueing strategy to use (see below for more details)
redisHoststringlocalhostHost of the redis instance
redisPortinteger6379Port of the redis instance
  • statsdProtocol may be either datadog (for datadog extension of StatsD protocol) or standard (for standard StatsD protocol)
  • queue may be either redis, memory or null (default). By setting this value to redis or memory the metrics will be queued using the selected strategy and will only be published once the ty:monitoring:push-queued-metrics command has been executed.

Example configuration

  • To configure the bundle to use the standard StatsD protocol, with StatsD agent listening on 10.10.10.10, port 8125:
monitoring:
  statsdHost: 10.10.10.10
  • To configure the bundle to use the redis queue, add the following to config.yml:
monitoring:
  queue: redis

统计信息

  • 总下载量: 6.27k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固