Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-985

Instrument hooks to enable tracing and performance capture of all network calls from the csharp driver

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0
    • Affects Version/s: 1.9.1
    • Component/s: Diagnostics
    • None
    • Fully Compatible

      To support implementing .Net version of a distributed tracing platform similar to Google Dapper (see link) or Twitter Zipkin, hooks need to be added to the CSharp drive before send and after receive to allow the tracing and measuring of all network calls.

      http://static.googleusercontent.com/media/research.google.com/en/us/pubs/archive/36356.pdf

      Tried inheriting/overriding the various methods that end up calling the network calls, however, this is too fragile and is contingent on the internals of how the driver is implemented.

      The only resilient option is to modify the driver to support hooks that consumers can add to instrument all network requests.

      With the exception of a new public method to allow consumers to register a tracer no public interfaces will be affected.

            Assignee:
            Unassigned Unassigned
            Reporter:
            franklinwise Franklin Wise
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: