netolabs/openmetrics-bundle
Composer 安装命令:
composer require netolabs/openmetrics-bundle
包简介
Symfony bundle for exporting application telemetry from your application to Prometheus
README 文档
README
Symfony bundle for exporting application telemetry from your application to Prometheus.
Installation
Download the bundle
composer require netolabs/openmetrics-bundle
Add the bundle to your AppKernel.php
class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Neto\OpenmetricsBundle\NetoOpenmetricsBundle(), ); } }
Add the configuration to config.yml
neto_openmetrics: namespace: neto_ecommerce ignored_routes: []
Add the routes.yml for your /metrics endpoint
neto_openmetrics: resource: '@NetoOpenmetricsBundle/Resources/config/routes.yml' prefix: /
统计信息
- 总下载量: 6.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-22