File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
instrumentation/github.com/gocql/gocql Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
21
21
"github.com/gocql/gocql"
22
22
)
23
23
24
- func ExampleTracedSession () {
24
+ func ExampleNewSessionWithTracing () {
25
25
// Create a cluster
26
26
host := "localhost"
27
27
cluster := gocql .NewCluster (host )
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ type OTelQueryObserver struct {
32
32
enabled bool
33
33
observer gocql.QueryObserver
34
34
tracer trace.Tracer
35
- inst * instruments
35
+ inst * instruments
36
36
}
37
37
38
38
// OTelBatchObserver implements the gocql.BatchObserver interface
@@ -41,7 +41,7 @@ type OTelBatchObserver struct {
41
41
enabled bool
42
42
observer gocql.BatchObserver
43
43
tracer trace.Tracer
44
- inst * instruments
44
+ inst * instruments
45
45
}
46
46
47
47
// OTelConnectObserver implements the gocql.ConnectObserver interface
@@ -51,7 +51,7 @@ type OTelConnectObserver struct {
51
51
enabled bool
52
52
observer gocql.ConnectObserver
53
53
tracer trace.Tracer
54
- inst * instruments
54
+ inst * instruments
55
55
}
56
56
57
57
// ------------------------------------------ Observer Functions
You can’t perform that action at this time.
0 commit comments