承接 rianfuro/laravel-prometheus-storage-adapter 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

rianfuro/laravel-prometheus-storage-adapter

Composer 安装命令:

composer require rianfuro/laravel-prometheus-storage-adapter

包简介

Laravel Eloquent storage adapter for the prometheus php client

README 文档

README

This packag provides an Adapter implementation for endclothing/prometheus_client_php, using Laravel's Eloquent to store metrics in your database. Is it a good idea? Probably not, but here it is anyway - maybe it'll fit your needs.

Installation

composer require  rianfuro/laravel-prometheus-storage-adapter
php artisan migrate

There's no configuration attached to this library, the adapter will simply use your default connection from your database.php.

Usage

You can then simply register the adapter in your ServiceProvider, for example as follows:

        $this->app->bind(Adapter::class, LaravelPrometheusStorageAdapter\EloquentStorageAdapter::class);
        $this->app->singleton(CollectorRegistry::class);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固