PluginProbe
DecaLog / 4.4.0
DecaLog v4.4.0
3.0.2 3.1.0 3.10.0 3.2.0 3.3.0 3.4.0 3.4.1 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.6.3 3.7.0 3.7.1 3.8.0 3.9.0 3.9.1 4.0.0 4.1.0 4.2.0 4.3.0 4.3.1 4.4.0 4.5.0 All 75 releases
decalog / TRACING.md

TRACING.md in DecaLog 4.4.0, at TRACING.md

19 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 [](https://perfops.one/decalogDecaLog](https://perfops.one/decalog](https://perfops.one/decalog) have the ability to log WordPress traces.
2
3 These __traces__ can be sent to specialized services or displayed in the WordPress admin.
4
5 ## Anatomy of a trace
6 A __trace__ belongs to a __channel__, which is the type of "execution pipe" where the __trace__ was recorded. It can take the following values: `CLI` (command-line interface), `CRON` (cron job), `AJAX` (Ajax request), `XMLRPC` (XML-RPC request), `API` (Rest API request), `FEED` (Atom/RDF/RSS feed), `WBACK` (site backend), `WFRONT` (site frontend).
7
8 Each __trace__ contains a list of __spans__ which are mainly composed of:
9 - A __process__, which can be: `core`, `plugin`, `theme`, `library`, `db`, `php`.
10 - A __name__, which is given in the form "Component / Operation".
11 - A __start time__, which is the starting timestamp of the span.
12 - A __duration__, which is the duration of the span.
13
14 All fields, times and tags/labels are handled and automatically set by DecaLog.
15
16 ![Typical trace sent by DecaLog and visualized in Grafana](https://perfops.one/assets/images/traces-example.jpg "Typical trace sent by DecaLog and visualized in Grafana")
17
18 _Typical trace sent by DecaLog and visualized in Grafana_
19