2017 © Pedro Peláez
 

library microservice-metrics

Prometheus style metrics for microservices building on the official library

image

lushdigital/microservice-metrics

Prometheus style metrics for microservices building on the official library

  • Tuesday, July 24, 2018
  • by danmrichards
  • Repository
  • 4 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Lush Digital - Micro Service Metrics

The Library provides Prometheus style metrics to scrape., (*1)

Dependencies

It requires a redis instance running with REDIS_HOST environment variable pointing to it., (*2)

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., (*3)

Package Contents

  • Terminable Middleware
  • Route + Controller

Installation

Install the package as normal:, (*4)

$ composer require lushdigital/microservice-metrics

Register the service provider with Lumen in the bootstrap/app.php file:, (*5)

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

The Versions

24/07 2018

dev-master

9999999-dev

Prometheus style metrics for microservices building on the official library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gabor Csikos

laravel microservice framework lumen redis metrics prometheus

24/07 2018

v0.9.0

0.9.0.0

Prometheus style metrics for microservices building on the official library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gabor Csikos

laravel microservice framework lumen redis metrics prometheus