mirror of
https://github.com/appwrite/appwrite
synced 2026-04-21 21:47:16 +00:00
- Add utopia-php/span 1.1.* direct dependency, bump utopia-php/dns to 1.6.* - Create shared app/init/span.php for span storage and pretty exporter setup - Instrument HTTP request lifecycle with spans (method, path, response code) - Add database.setup and http.server.start spans - Replace old Console error logs with Span::error() in general controller Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
166 B
PHP
8 lines
166 B
PHP
<?php
|
|
|
|
use Utopia\Span\Exporter;
|
|
use Utopia\Span\Span;
|
|
use Utopia\Span\Storage;
|
|
|
|
Span::setStorage(new Storage\Coroutine());
|
|
Span::addExporter(new Exporter\Pretty());
|