Page MenuHomePhabricator

enable tracing data into services
Closed, ResolvedPublic

Description

What/Why:
We have a tracing dashboard that shows traces per API call, but we would benefit a ton if we could see deeper down the call, into each service layer, orchestrator and evaluator. With those spans added, we would be able to see how long we take there and any issues that arise within.

How:
We use the TelemetryHeadersInterface in the PHP layer but is there a way we can instrument this in our backend services too? There is a initAndLogRequest function in both services I think we can add the tracing headers to...

Event Timeline

Change #1076260 had a related patch set uploaded (by Ecarg; author: Ecarg):

[mediawiki/extensions/WikiLambda@master] use OTel to prefill req headers

https://gerrit.wikimedia.org/r/1076260

Change #1076260 had a related patch set uploaded (by Ecarg; author: Ecarg):

[mediawiki/extensions/WikiLambda@master] Bug: T375922 Change-Id: I7247907b218cbb26f93299caee0904c2d29e501f

https://gerrit.wikimedia.org/r/1076260

Change #1076260 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Use OTel headers

https://gerrit.wikimedia.org/r/1076260

Change #1080367 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-10-08-175830 to 2024-10-15-192817

https://gerrit.wikimedia.org/r/1080367

Change #1080368 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-10-08-175510 to 2024-10-10-202633

https://gerrit.wikimedia.org/r/1080368

Change #1080367 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-10-08-175830 to 2024-10-15-192817

https://gerrit.wikimedia.org/r/1080367

Change #1080368 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-10-08-175510 to 2024-10-10-202633

https://gerrit.wikimedia.org/r/1080368

Change #1090892 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-10-15-192817 to 2024-11-13-145636

https://gerrit.wikimedia.org/r/1090892

Change #1090892 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-10-15-192817 to 2024-11-13-145636

https://gerrit.wikimedia.org/r/1090892