vasary/tracer-bundle

A bundle that provides bridge to request_id

Installs: 212

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

Type:symfony-bundle

0.1.6 2021-02-12 11:56 UTC

This package is auto-updated.

Last update: 2024-04-12 19:38:40 UTC


README

A bundle that provides requests tracing ability.

Build Status

Install

Composer

composer require vasary/tracer-bundle

Kernel

Include the bundle in your Kernel

public function registerBundles()
{
    return [
        ...
        new Vasary\TracingBundle\TracingBundle()
    ];

Configuration

Default

tracing:
  header_name: x-trace-id
  log_field_name: x-trace-id
  application_name: change_me

Extra parameters can be placed in config/packages/(dev|test|prod)/tracing.yaml"

tracing:
    extra:
        key: value

You can also override these settings.