Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10392

Allow Cassandra to trace to custom tracing implementations

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 3.4
    • Component/s: None
    • Labels:
      None

      Description

      It can be possible to use an external tracing solution in Cassandra by abstracting out the writing of tracing to system_traces tables in the tracing package to separate implementation classes and leaving abstract classes in place that define the interface and behaviour otherwise of C* tracing.

      Then via a system property "cassandra.custom_tracing_class" the Tracing class implementation could be swapped out with something third party.

      An example of this is adding Zipkin tracing into Cassandra in the Summit presentation. Code for the implemented Zipkin plugin can be found at https://github.com/thelastpickle/cassandra-zipkin-tracing/

      In addition this patch passes the custom payload through into the tracing session allowing a third party tracing solution like Zipkin to do full-stack tracing from clients through and into Cassandra.

        Attachments

          Activity

            People

            • Assignee:
              michaelsembwever mck
              Reporter:
              michaelsembwever mck
              Reviewer:
              T Jake Luciani
              Tester:
              T Jake Luciani
            • Votes:
              9 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: