You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-5
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@
10
10
> use it to monitor applications and set up automatic alerts to receive notifications via email,
11
11
> Slack, Telegram, and others.
12
12
>
13
-
> See [OpenTelemetry](example/otel) example which demonstrates how you can use Uptrace to monitor
14
-
> go-redis.
13
+
> See [OpenTelemetry](https://github.com/redis/go-redis/tree/master/example/otel) example which
14
+
> demonstrates how you can use Uptrace to monitor go-redis.
15
15
16
16
## Documentation
17
17
@@ -107,7 +107,8 @@ func ExampleClient() {
107
107
}
108
108
```
109
109
110
-
The above can be modified to specify the version of the RESP protocol by adding the `protocol` option to the `Options` struct:
110
+
The above can be modified to specify the version of the RESP protocol by adding the `protocol`
111
+
option to the `Options` struct:
111
112
112
113
```go
113
114
rdb:= redis.NewClient(&redis.Options{
@@ -121,7 +122,10 @@ The above can be modified to specify the version of the RESP protocol by adding
121
122
122
123
### Connecting via a redis url
123
124
124
-
go-redis also supports connecting via the [redis uri specification](https://github.com/redis/redis-specifications/tree/master/uri/redis.txt). The example below demonstrates how the connection can easily be configured using a string, adhering to this specification.
125
+
go-redis also supports connecting via the
126
+
[redis uri specification](https://github.com/redis/redis-specifications/tree/master/uri/redis.txt).
127
+
The example below demonstrates how the connection can easily be configured using a string, adhering
128
+
to this specification.
125
129
126
130
```go
127
131
import (
@@ -208,7 +212,8 @@ Lastly, run:
208
212
go test
209
213
```
210
214
211
-
Another option is to run your specific tests with an already running redis. The example below, tests against a redis running on port 9999.:
215
+
Another option is to run your specific tests with an already running redis. The example below, tests
0 commit comments