Pierre-Lannoy / wp-decalog

Capture and log events, metrics and traces on your site. Make WordPress observable - finally!
https://perfops.one/
GNU General Public License v3.0
64 stars 8 forks source link

Provide OpenTelemetry semantics compatibility #51

Open stevapple opened 1 year ago

stevapple commented 1 year ago

Is your feature request related to a problem? Please describe. Database spans from Dacalog are not recognized by APM dashboards.

Describe the solution you'd like We would like to make Decalog OTel-compatible. OpenTelemetry has a set of semantic conventions for tagging a span, which is recognized by some APM dashboards.

Describe alternatives you've considered We can run a "shim" between Decalog and OpenTelemetry backends, but that’s extra amount of work and may be difficult for most users.

A potential solution is introducing hooks into Decalog, to let users modify tags of all traces.

Additional context https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/