Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Use opencensus grpc plugin to trace operations across glusterd2 nodes. #1068

Merged
merged 3 commits into from
Aug 8, 2018

Commits on Aug 2, 2018

  1. Integrate Opencensus grpc plugin within the grpc client and listener …

    …APIs.
    
    Include the ocgrpc client handler as a dial option within grpc.Dial().
    This registers the ocgrpc client handler as a service. Provide the ocgrpc
    serverHandler to the grpc statsHandler when creating a new grpc server.
    
    Also, edit the Gopkg.toml file to update the following package versions
    for successful compilation,
     1. "github.com/coreos/etcd":     v3.2.9 -> v3.3.8
     2. "github.com/golang/protobuf": v1.0.0 -> v1.1.0
     3. "google.golang.org/grpc":     v1.0.4 -> v1.13.0
    
    Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
    sseshasa committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    404f8f6 View commit details
    Browse the repository at this point in the history
  2. Pass original context to trace volume create steps across grpc nodes.

    Pass the original context to the runStepOn() function so that it can be
    used by the opensensus grpc plugin to trace the calls on other nodes in
    the gluster cluster. Also, append the requestID to the span info in
    addition to the associated function name so that the operation can be
    identified on the tracing UI application.
    
    Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
    sseshasa committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    13690fd View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2018

  1. Configuration menu
    Copy the full SHA
    291c569 View commit details
    Browse the repository at this point in the history