/tracing

Primary LanguagePHP

Tracing kit

Build Status codecov

Kit

Request logger

  • Set trace id from incoming request or generate new trace id.
  • Log incoming request

Response logger

  • Add trace id to response
  • Log outgoing response body

Application name logger processor

Adds to log message extra data with application name. Needs for GELF.

Extra level name logger processor

Adds to log message extra data with an additional log level name. Needs for GELF.

Trace ID processor

Adds to log message extra data with trace id. All logs will have key extra.trace_id with trace id obtained from the incoming request or generated. (Requestlogger.php)

Extra parameters processor

Adds to log message extra data with any key / value pairs in "extra" section