MCPcopy
hub / github.com/grpc/grpc-go / fakeOpenCensusExporter

Struct fakeOpenCensusExporter

gcp/observability/observability_test.go:78–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76)
77
78type fakeOpenCensusExporter struct {
79 // The map of the observed View name and type
80 SeenViews map[string]string
81 // Number of spans
82 SeenSpans int
83
84 idCh *testutils.Channel
85
86 t *testing.T
87 mu sync.RWMutex
88}
89
90func (fe *fakeOpenCensusExporter) ExportView(vd *view.Data) {
91 fe.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected