From 7166c499c36344a36a18bfb17dcdeee79868b76b Mon Sep 17 00:00:00 2001 From: Zoilo Mora Date: Thu, 28 May 2020 15:47:00 +0200 Subject: [PATCH] Usage examples --- README.md | 44 +++++++++++++++++-- .../Component/Messenger/ApmMiddleware.php | 2 +- .../Component/Messenger/NameExtractor.php | 2 +- 3 files changed, 42 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7fbbfd1..73bf4a2 100644 --- a/README.md +++ b/README.md @@ -14,15 +14,51 @@ This library supports Span traces of [Symfony Messenger](https://github.com/symf In all cases, an already created instance of [ElasticApmTracer](https://github.com/zoilomora/elastic-apm-agent-php) is assumed. +### Native PHP + +```php +