Skip to content

Commit

Permalink
fix: fixed example program for couchbase (#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
nithinputhenveettil authored Oct 4, 2024
1 parent cb52e9b commit 665a13d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
4 changes: 1 addition & 3 deletions example/couchbase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
### Run the application
```sh
cd /path/to/go-sensor

cd /path/to/go-sensor/examples/couchbase
# setup couchbase/server-sandbox container
docker-compose up
cd ./examples/couchbase
go mod tidy
go run .
```
Expand Down
8 changes: 8 additions & 0 deletions example/couchbase/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: '3'

services:
couchbase-server-sandbox:
image: couchbase/server-sandbox:7.1.1
ports:
- 8091-8094:8091-8094
- 11210:11210
4 changes: 2 additions & 2 deletions example/couchbase/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ module couchbase.example

go 1.22

require github.com/couchbase/gocb/v2 v2.9.1
require github.com/couchbase/gocb/v2 v2.9.2

require (
github.com/instana/go-sensor v1.65.0
github.com/instana/go-sensor/instrumentation/instagocb v1.4.1
)

require (
github.com/couchbase/gocbcore/v10 v10.5.1 // indirect
github.com/couchbase/gocbcore/v10 v10.5.2 // indirect
github.com/couchbase/gocbcoreps v0.1.3 // indirect
github.com/couchbase/goprotostellar v1.0.2 // indirect
github.com/couchbaselabs/gocbconnstr/v2 v2.0.0-20240607131231-fb385523de28 // indirect
Expand Down
8 changes: 4 additions & 4 deletions example/couchbase/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZx
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/couchbase/gocb/v2 v2.9.1 h1:yB2ZhRLk782Y9sZlATaUwglZe9+2QpvFmItJXTX4stQ=
github.com/couchbase/gocb/v2 v2.9.1/go.mod h1:TMAeK34yUdcASdV4mGcYuwtkAWckRBYN5uvMCEgPfXo=
github.com/couchbase/gocbcore/v10 v10.5.1 h1:bwlV/zv/fSQLuO14M9k49K7yWgcWfjSgMyfRGhW1AyU=
github.com/couchbase/gocbcore/v10 v10.5.1/go.mod h1:rulbgUK70EuyRUiLQ0LhQAfSI/Rl+jWws8tTbHzvB6M=
github.com/couchbase/gocb/v2 v2.9.2 h1:g8VbSuBhY/iKWs6SIOSwoXYdv89D0THTSQQtsSC7J+4=
github.com/couchbase/gocb/v2 v2.9.2/go.mod h1:nCHmyzEiB5FmAzuNNkXtSbXP7wxO7nsYKdQAzm2TvSA=
github.com/couchbase/gocbcore/v10 v10.5.2 h1:DHK042E1RfhPBR3b14CITl5XHRsLjH3hpERuwUc5UIg=
github.com/couchbase/gocbcore/v10 v10.5.2/go.mod h1:rulbgUK70EuyRUiLQ0LhQAfSI/Rl+jWws8tTbHzvB6M=
github.com/couchbase/gocbcoreps v0.1.3 h1:fILaKGCjxFIeCgAUG8FGmRDSpdrRggohOMKEgO9CUpg=
github.com/couchbase/gocbcoreps v0.1.3/go.mod h1:hBFpDNPnRno6HH5cRXExhqXYRmTsFJlFHQx7vztcXPk=
github.com/couchbase/goprotostellar v1.0.2 h1:yoPbAL9sCtcyZ5e/DcU5PRMOEFaJrF9awXYu3VPfGls=
Expand Down

0 comments on commit 665a13d

Please sign in to comment.