Star us on GitHub
Star
Menu

PHP

Learn how to set up highlight.io tracing with the tracing crate.
1
Set up your highlight.io SDK.

First, make sure you've followed the backend getting started guide.

2
Record a trace.

Use the Highlight SDK to create spans and events.

use Highlight\SDK\Highlight; $tracer = Highlight::HighlightLogger(Highlight::$highlight) $tracer->process(Highlight::HighlightErrorRecord()->build());
Copy
3
Verify your backend traces are being recorded.

Visit the highlight traces portal and check that backend traces are coming in.