Closed Bug 1875776 Opened 2 years ago Closed 1 year ago

PoC: OpenTelemetry Rust based solution for exact tracing of failures

Categories

(Core :: MFBT, task, P3)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: michael, Assigned: michael)

References

Details

Attachments

(7 obsolete files)

No description provided.

This looks promising ;)

One problem with the current tests is that the stdout lock gets ignored over FFI boundaries, which results in interleaved printing.

Depends on D199217

An intriguing thing to demonstrate would be converting the traces to Firefox profiler profiles using markers. A recent demonstration of functionality like this is https://phabricator.services.mozilla.com/D187076 from bug 1850647 generating a firefox profile where there are markers and resource utilization information for the build process. For example, this working firefox profiler link comes from the "open in firefox profiler" button from this m-c build job.

This would probably make a lot of sense given that we're consolidating most tooling in spaces like this into the Firefox profiler and the jaeger trace UI (embedded) seems like it doesn't seem to have capabilities exceeding the profiler's there. (Note that obviously the issue of the data aggregation and searching/filtering/etc. is a separate issue. But for an individual user trace or synthesized aggregate trace, the Firefox profiler seems like a good UI that has an active developer base inside Mozilla, etc.)

Extra docs around the profiler format:

Attachment #9375757 - Attachment description: WIP: Bug 1875776 - Add OpenTelemetry based solution for exact tracing of failures r=janv,jari → WIP: Bug 1875776 - New FFI crate for OTel based trace solution r=janv,jari
Attachment #9375758 - Attachment description: WIP: Bug 1875776 - Add tests for OpenTelemetry based solution for exact tracing of failures r=janv,jari → WIP: Bug 1875776 - Add simple gtests for OTel based trace solution r=janv,jari
Attachment #9376015 - Attachment description: WIP: Bug 1875776 - Add demo UI for trace collection using jaeger r=janv,jari → WIP: Bug 1875776 - Add span exporter demo using jaeger r=janv,jari
Attachment #9376619 - Attachment description: WIP: Bug 1875776 - Vendor cargo dependencies for OTel based trace solution r=janv,jari → WIP: Bug 1875776 - Vendor cargo dependencies for OTel based trace solution r=janv
Attachment #9375757 - Attachment description: WIP: Bug 1875776 - New FFI crate for OTel based trace solution r=janv,jari → WIP: Bug 1875776 - New FFI crate for OTel based trace solution r=janv
Attachment #9376620 - Attachment description: WIP: Bug 1875776 - Add glue for utilization of new FFI OTel trace crate r=janv,jari → WIP: Bug 1875776 - Add glue for utilization of new FFI OTel trace crate r=janv
Attachment #9375758 - Attachment description: WIP: Bug 1875776 - Add simple gtests for OTel based trace solution r=janv,jari → WIP: Bug 1875776 - Add simple gtests for OTel based trace solution r=janv
Attachment #9376619 - Attachment description: WIP: Bug 1875776 - Vendor cargo dependencies for OTel based trace solution r=janv → WIP: Bug 1875776 - Vendor cargo dependencies for OTel based trace solution r=janv,jari
Attachment #9375757 - Attachment description: WIP: Bug 1875776 - New FFI crate for OTel based trace solution r=janv → WIP: Bug 1875776 - New FFI crate for OTel based trace solution r=janv,jari
Attachment #9376620 - Attachment description: WIP: Bug 1875776 - Add glue for utilization of new FFI OTel trace crate r=janv → WIP: Bug 1875776 - Add glue for utilization of new FFI OTel trace crate r=janv,jari
Attachment #9375758 - Attachment description: WIP: Bug 1875776 - Add simple gtests for OTel based trace solution r=janv → WIP: Bug 1875776 - Add simple gtests for OTel based trace solution r=janv,jari
Attachment #9378318 - Attachment description: WIP: Bug 1875776 - Add cross thread propagation support to OTel based trace solution r=janv → WIP: Bug 1875776 - Add cross thread propagation support to OTel based trace solution r=janv,jari
Attachment #9376619 - Attachment is obsolete: true
Attachment #9375757 - Attachment is obsolete: true
Attachment #9376620 - Attachment is obsolete: true
Attachment #9375758 - Attachment is obsolete: true
Attachment #9378318 - Attachment is obsolete: true
Attachment #9376621 - Attachment is obsolete: true
Attachment #9376015 - Attachment is obsolete: true
Blocks: 1891020
Summary: Add OpenTelemetry based solution for exact tracing of failures → Add OpenTelemetry Rust based solution for exact tracing of failures
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
Summary: Add OpenTelemetry Rust based solution for exact tracing of failures → PoC: OpenTelemetry Rust based solution for exact tracing of failures
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: