Closed Bug 1889347 Opened 2 years ago Closed 1 year ago

PoC: OpenTelemetry C++ based solution for exact tracing of failures

Categories

(Toolkit :: Gecko Trace, task)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: michael, Assigned: michael)

References

Details

Attachments

(3 files, 16 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

This is a top level bug for including OpenTelemetry to enhance our tracing capabilities in gk.

Attachment #9394733 - Attachment is obsolete: true

Very interesting!

Hey jstutte,

This came up during General triage. We're not entirely sure what work this is for, and so aren't very sure which component it fits under. Is there a better fit than Toolkit :: General?

Flags: needinfo?(jstutte)

Hey Mike,

I'm not the person you requested info from, but I have some insights into this.

We are in the process of submitting a proposal, which involves creating a bunch of proof of concept patches.
This component to seamed appropriate for the meta bug, since the proposed system would likely go under toolkits/components.
If it is too much of a burden to you guys to keep it here, we will move the meta bug to one of our own components.

(In reply to Mike Conley (:mconley) (:⚙️) from comment #8)

Very interesting!

Hey jstutte,

This came up during General triage. We're not entirely sure what work this is for, and so aren't very sure which component it fits under. Is there a better fit than Toolkit :: General?

This touches various things, but Toolkit::General seems not to be the best place for this, indeed. I assume we should move this to XPCOM or MFBT but for now it is really just a PoC until we completely understand what we want to do. As this proposal came out from quota manager related work, we might want to keep it there until then.

Flags: needinfo?(jstutte)
Blocks: 1891020
Component: General → Storage: Quota Manager
Product: Toolkit → Core
Type: enhancement → task
Summary: OpenTelemetry tracing proposal → Add OpenTelemetry C++ based solution for exact tracing of failures
Attachment #9395789 - Attachment description: Bug 1889347 - OpenTelemetry multithreaded tracing demo → WIP: Bug 1889347 - OpenTelemetry multithreaded tracing demo
Attachment #9394734 - Attachment description: WIP: Bug 1889347 - Add IPC glue for opentelemetry → WIP: Bug 1889347 - Add IPC glue for opentelemetry-cpp
Attachment #9395044 - Attachment description: WIP: Bug 1889347 - Vendor opentelemety-cpp → WIP: Bug 1889347 part 1: Vendor opentelemety-cpp
Attachment #9394734 - Attachment description: WIP: Bug 1889347 - Add IPC glue for opentelemetry-cpp → WIP: Bug 1889347 part 2: Add IPC glue for opentelemetry-cpp types
Attachment #9394735 - Attachment description: WIP: Bug 1889347 - Add `SendTraceContext` ipdl message attribute for propagating trace context over IPC → WIP: Bug 1889347 part 5: IPDL attribute to propagate trace context over IPC calls
Attachment #9394736 - Attachment is obsolete: true
Attachment #9395044 - Attachment description: WIP: Bug 1889347 part 1: Vendor opentelemety-cpp → WIP: Bug 1889347 part 2: Vendor opentelemety-cpp
Attachment #9394734 - Attachment description: WIP: Bug 1889347 part 2: Add IPC glue for opentelemetry-cpp types → WIP: Bug 1889347 part 3: Add IPC glue for opentelemetry-cpp types
Attachment #9403502 - Attachment description: WIP: Bug 1889347 part 3: IPC exporters for opentelemtry-cpp data → WIP: Bug 1889347 part 4: IPC exporters for opentelemtry-cpp data
Attachment #9403504 - Attachment description: WIP: Bug 1889347 part 4: Initialize tracers in XPCOM init → WIP: Bug 1889347 part 5: Initialize tracers in XPCOM init
Attachment #9394735 - Attachment description: WIP: Bug 1889347 part 5: IPDL attribute to propagate trace context over IPC calls → WIP: Bug 1889347 part 6: IPDL attribute to propagate trace context over IPC calls
Attachment #9403506 - Attachment description: WIP: Bug 1889347 part 6: Traced Runnable extension → WIP: Bug 1889347 part 7: Traced Runnable extension
Attachment #9403507 - Attachment description: WIP: Bug 1889347 part 7: Traced MozPromise extension → WIP: Bug 1889347 part 8: Traced MozPromise extension
Attachment #9405530 - Attachment description: WIP: Bug 1889347 part 1: Support files for Vendoring opentelemetry-cpp → WIP: Bug 1889347 part 1 - Add `moz.yaml` for vendoring opentelemetry-cpp
Attachment #9395044 - Attachment description: WIP: Bug 1889347 part 2: Vendor opentelemety-cpp → WIP: Bug 1889347 part 2 - Vendor opentelemety-cpp library
Attachment #9403502 - Attachment description: WIP: Bug 1889347 part 4: IPC exporters for opentelemtry-cpp data → WIP: Bug 1889347 part 4 - Introduce a new tracing component
Attachment #9394735 - Attachment description: WIP: Bug 1889347 part 6: IPDL attribute to propagate trace context over IPC calls → WIP: Bug 1889347 part 5 - Tracing extensions for async primitives
Attachment #9406696 - Attachment description: WIP: Bug 1889347: Demo exporting OpenTelemetry data to Gecko Profiler → WIP: Bug 1889347 - Demo exporting OpenTelemetry data to Gecko Profiler
Attachment #9394734 - Attachment is obsolete: true
Attachment #9403504 - Attachment is obsolete: true
Attachment #9403507 - Attachment is obsolete: true
Attachment #9403506 - Attachment is obsolete: true
Assignee: nobody → jvarga
Status: NEW → ASSIGNED
Attachment #9420506 - Attachment description: WIP: Bug 1889347 - Test worst case opentelemetry performance impact → WIP: Bug 1889347 - Test worst-case opentelemetry performance impact
Assignee: jvarga → nobody
Status: ASSIGNED → NEW
Depends on: 1923143
Assignee: nobody → jvarga
Status: NEW → ASSIGNED
Assignee: jvarga → mvanstraten
No longer depends on: 1923143
Summary: Add OpenTelemetry C++ based solution for exact tracing of failures → PoC: OpenTelemetry C++ based solution for exact tracing of failures
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Attachment #9395789 - Attachment is obsolete: true
Attachment #9395939 - Attachment is obsolete: true
Attachment #9406696 - Attachment is obsolete: true
Attachment #9420506 - Attachment is obsolete: true
Attachment #9394735 - Attachment is obsolete: true
Attachment #9413965 - Attachment is obsolete: true
Attachment #9403502 - Attachment is obsolete: true
Attachment #9413964 - Attachment is obsolete: true
Attachment #9395044 - Attachment is obsolete: true
Attachment #9405530 - Attachment is obsolete: true
Component: Storage: Quota Manager → Gecko Trace
Product: Core → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: