定制 lushdigital/microservice-metrics 二次开发

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

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

lushdigital/microservice-metrics

Composer 安装命令:

composer require lushdigital/microservice-metrics

包简介

Prometheus style metrics for microservices building on the official library

README 文档

README

The Library provides Prometheus style metrics to scrape.

Dependencies

It requires a redis instance running with REDIS_HOST environment variable pointing to it.

Description

In the middleware RED metrics are being captured, however you are free to implement your own custom metrics just by registering the them with an instance of CollectorRegistry.(for simplicity it is set as a singleton in the IoC) At display time new metrics will be discovered from Redis, but be aware if you change the definition for a metric, it needs to be purged from Redis.

Package Contents

  • Terminable Middleware
  • Route + Controller

Installation

Install the package as normal:

$ composer require lushdigital/microservice-metrics

Register the service provider with Lumen in the bootstrap/app.php file:

$app->register(LushDigital\MicroServiceMetrics\MetricsServiceProvider::class);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固