feat: add support for OTEL logs

This commit is contained in:
2024-01-18 18:37:41 +01:00
parent 1a3cf1c2e0
commit a618f27890
7 changed files with 128 additions and 12 deletions

View File

@@ -5,6 +5,10 @@ monolog:
when@dev:
monolog:
handlers:
otel:
type: service
id: App\Bridge\Monolog\Handler\SymfonyOtelHandler
main:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"

View File

@@ -45,6 +45,7 @@ services:
$innerGenerator: '@App\Service\Remote\UsetrenoQRCodeProvider'
$cacheDuration: 'PT60S'
App\Service\CurrencyListerInterface: '@App\Service\StaticCurrencyLister'
App\Service\QRCodeQROptionsProviderInterface: '@App\Service\QRCodeQROptionsDefaultProvider'
App\Service\QRCodeGeneratorInterface: '@App\Service\CachedQRCodeGenerator'