API Overview

The PHP extension comes with the following APIs:

  • Tideways\Profiler Static class, no instance can be created.

    • Tideways\Profiler::addEventMarker - Mark current time in timeline with a marker

    • Tideways\Profiler::containsDeveloperTraceRequest - Is a cookie, header or query string set that will elevate the profiler to developer callgraph mode when valid?

    • Tideways\Profiler::createSpan - Create custom spans in Timeline

    • Tideways\Profiler::currentTraceId -

    • Tideways\Profiler::detectTransactionFunction -

    • Tideways\Profiler::detectExceptionFunction -

    • Tideways\Profiler::disableCallgraphProfiler -

    • Tideways\Profiler::disableTracingProfiler -

    • Tideways\Profiler::enableCallgraphProfiler -

    • Tideways\Profiler::enableTracingProfiler -

    • Tideways\Profiler::generateServerTimingHeaderValue -

    • Tideways\Profiler::getTransactionName -

    • Tideways\Profiler::isStarted - Does the profiler currently run and collect data?

    • Tideways\Profiler::isTracing - Is the profiler currently running in tracing mode?

    • Tideways\Profiler::isProfiling - Is the profiler currently running in callgraph profiling mode?

    • Tideways\Profiler::logFatal -

    • Tideways\Profiler::logException -

    • Tideways\Profiler::setCustomVariable -

    • Tideways\Profiler::setServiceName -

    • Tideways\Profiler::setTransactionName -

    • Tideways\Profiler::start - Start the Profiler

    • Tideways\Profiler::stop - Stop the Profiler

    • Tideways\Profiler::triggerCallgraphOn -

    • Tideways\Profiler::watch -

    • Tideways\Profiler::watchCallback -

    • Tideways\Profiler::markPageCacheHit - For xhref:reference/php-extension/recording-page-cache-hits-misses.adoc[Page Cache Hit ratio] mark current request as HIT.

    • Tideways\Profiler::markPageCacheMiss - For xhref:reference/php-extension/recording-page-cache-hits-misses.adoc[Page Cache Hit ratio] mark current request as MISS.

  • Tideways\Profiler\Span - represents a custom span

    • Tideways\Profiler\Span::annotate -

    • Tideways\Profiler\Span::finish -

    • Tideways\Profiler\Span::getId -

    • Tideways\Profiler\Span::logException -

Still need help? Email [email protected]