2017 © Pedro PelĂĄez
 

library correlate-php-monolog

Monolog processor for microservices to append correlation id to log messages.

image

proemergotech/correlate-php-monolog

Monolog processor for microservices to append correlation id to log messages.

  • Thursday, June 15, 2017
  • by shakahl
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1,559 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 15 % Grown

The README.md

correlate-php-monolog


Overview

It's very difficult to track a request accross the system when we are working with microservices. We came out a solution for that. We generate a unique version 4 uuid for every request and every service passes this id via request header to other services. We call this correlation ID., (*1)

Packages

Installation

You should not use this directly., (*2)

By the way if you want to use it directly, you can install it via composer., (*3)

$ composer require proemergotech/correlate-php-monolog

Usage

Generate a correlation id:, (*4)

$processor = new \ProEmergotech\Correlate\Monolog\CorrelateProcessor('x_correlation_id', $correlationId);
$monolog->pushProcessor($processor);

Contributing

See CONTRIBUTING.md file., (*5)

Credits

This package developed by Soma Szélpål at Pro Emergotech Ltd.., (*6)

License

This project is released under the MIT License., (*7)

The Versions

15/06 2017

dev-master

9999999-dev https://github.com/correlate-php-monolog

Monolog processor for microservices to append correlation id to log messages.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel psr-7 log microservice lumen uuid monolog dispatcher slim correlate