Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.
This repository was archived by the owner on May 23, 2023. It is now read-only.

How do I trace requests from the browser? #149

@gioragutt

Description

@gioragutt

I'm writing here because I've looked at most of the available options, and want to make sure I don't miss anything before I start implementing stuff on my own.

We use jaeger for tracing, and I've done all the work on the backend to write traces to jaeger.

Problem is I want the traces to start in the client side, and I can't seem to make anything work. I'm trying methods for both jaeger and zipkin since jaeger has translation layer for zipkin.

Jaeger

  • The "official" browser bindings don't really exist, they're WIP, and work on them stopped long ago.
  • I've looked into open-telemetry, and the jaeger exporter needs stuff from node to work, making it impossible to use in the browser.

Zipkin

  • I've tried using the zipkin-js lib, but it too wants stuff from node (node-fetch and os to name what my webpack shouts at me).
  • Like with jaeger, the zipkin open telemetry exporter also requires stuff from node.

Is there any working way to trace with jaeger/zipkin from a browser?

Currently as I see, my options are to implement some kind of proxy myself, or to use the OpenTelemetry Collector.

Would appreciate help 🙏🏻

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions