This library supports Span traces of Dompdf renderings.
-
Install via composer
composer require pccomponentes/apm-dompdf
In all cases, an already created instance of ElasticApmTracer is assumed.
<?php
declare(strict_types=1);
$domPdf = new PcComponentes\ElasticAPM\DomPdf\DomPdf(
$apmTracer, /** \ZoiloMora\ElasticAPM\ElasticApmTracer instance. */
);
<?php
declare(strict_types=1);
$domPdfFactory = new PcComponentes\ElasticAPM\DomPdf\DomPdfFactory(
$apmTracer, /** \ZoiloMora\ElasticAPM\ElasticApmTracer instance. */
);
$domPdf = $domPdfFactory->create();
Licensed under the MIT license
Read LICENSE for more information