mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
a44a22ce04
- 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>
9 lines
166 B
PHP
9 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());
|