Commit Graph

2292 Commits

Author SHA1 Message Date
Vladimir Mihailenco 331e40dc6c fix: reset pubsub state when unsubscribing from all channels 2022-10-14 15:15:06 +03:00
Vladimir Mihailenco 6a8cf3e9d8 chore: fix examples 2022-10-13 09:12:05 +03:00
Vladimir Mihailenco 3e4ae80c12 chore: improve instrumentation example 2022-10-12 17:18:55 +03:00
Vladimir Mihailenco d01dc36c09
Merge pull request #2245 from go-redis/fix/dial-hook
fix: late binding for dial hook
2022-10-12 17:18:27 +03:00
Vladimir Mihailenco eab588ddb5 chore: fix linter 2022-10-12 15:14:26 +03:00
Vladimir Mihailenco 2ec03d9b37 fix: late binding for dial hook 2022-10-12 15:00:06 +03:00
Vladimir Mihailenco 180f107add
Merge pull request #2244 from go-redis/feat/metrics
Add OpenTelemetry Metrics using new hooks
2022-10-12 11:10:06 +03:00
Vladimir Mihailenco 0dff3d1461 feat: add OpenTelemetry metrics instrumentation 2022-10-12 11:09:41 +03:00
Vladimir Mihailenco d07457b6cf
Merge pull request #2243 from go-redis/feat/context-timeout-enabled
feat: add ContextTimeoutEnabled to respect context timeouts and deadl…
2022-10-11 10:41:16 +03:00
Vladimir Mihailenco 41a533cb7b chore: downgrade opentelemetry 2022-10-11 10:37:43 +03:00
Vladimir Mihailenco 58f7149e38 feat: add ContextTimeoutEnabled to respect context timeouts and deadlines 2022-10-11 10:22:42 +03:00
Vladimir Mihailenco 8319b1ebf0
Merge pull request #2239 from go-redis/dependabot/go_modules/github.com/onsi/gomega-1.21.1
chore(deps): bump github.com/onsi/gomega from 1.20.2 to 1.21.1
2022-10-11 09:53:09 +03:00
Vladimir Mihailenco 3676fa2a1f
Merge pull request #2242 from go-redis/fix/pipeline-dial-retry
fix: retry dial errors from pipelines
2022-10-11 09:53:01 +03:00
dependabot[bot] fe9eea777a
chore(deps): bump github.com/onsi/gomega from 1.20.2 to 1.21.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.20.2 to 1.21.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.20.2...v1.21.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-11 06:41:12 +00:00
Vladimir Mihailenco 34da3ab7a8
Merge pull request #2240 from go-redis/dependabot/go_modules/github.com/stretchr/testify-1.8.0
chore(deps): bump github.com/stretchr/testify from 1.5.1 to 1.8.0
2022-10-11 09:40:31 +03:00
Vladimir Mihailenco 4bb485d044 fix: retry dial errors from pipelines 2022-10-11 09:38:10 +03:00
dependabot[bot] af08d57855
chore(deps): bump github.com/stretchr/testify from 1.5.1 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 01:30:52 +00:00
Vladimir Mihailenco 1de0d2a1b7 chore: remove outdated comment 2022-10-09 13:11:02 +03:00
Vladimir Mihailenco d7dd9a732d
Merge pull request #2237 from injeniero/fix-info-section-vargs
fix: use all provided sections
2022-10-08 08:53:31 +03:00
Simon Paredes 28028b330f fix: use all provided sections 2022-10-07 17:18:59 -03:00
Vladimir Mihailenco dd9a200427
fix: improve pipelines retry logic (#2232)
* fix: improve pipelines retry logic
2022-10-06 14:05:55 +03:00
Stephanie Hingtgen 6327c52e60
Add ParseURL function for cluster mode (#1924)
* feat: add ParseClusterURL to allow for parsing of redis cluster urls into cluster options
2022-10-06 13:33:37 +03:00
Vladimir Mihailenco a65f5edea0 chore: rename DefaultDialer to NewDialer 2022-10-06 10:25:00 +03:00
Vladimir Mihailenco a9287a16d6
Merge pull request #1997 from nkcmr/feature/nick/default-dialer
feat: extract dialer to `DefaultDialer` to allow wrapping
2022-10-06 10:23:38 +03:00
Vladimir Mihailenco b0231c659e chore: always retry write timeouts 2022-10-06 10:06:02 +03:00
Vladimir Mihailenco 6725851465
Merge pull request #2071 from ray2011/master
fix retryTimeout in baseClient _process
2022-10-06 10:05:25 +03:00
Vladimir Mihailenco 2fbf8d574e
Merge pull request #2163 from KnutZuidema/feat/extra_redis_prometheus_stat_collector
feat(extra/redisprometheus): prometheus.Collector implementation for redis clients
2022-10-06 09:08:43 +03:00
Vladimir Mihailenco 24d4a2d579
Merge pull request #2231 from j178/fix-pubsub
fix(pubsub): fix break introduced by #2177
2022-10-06 08:59:57 +03:00
j178 fea57be18f
fix(pubsub): fix break introduced by #2177 2022-10-06 04:33:53 +08:00
Vladimir Mihailenco eae349aa75
Merge pull request #2075 from turrisxyz/setup-permissions
chore: Set permissions for GitHub actions
2022-10-05 10:55:46 +03:00
Vladimir Mihailenco 6f0167b9b9
Merge pull request #2127 from ash2k/ash2k/handle-context
Return early when context signals done
2022-10-05 10:48:41 +03:00
Vladimir Mihailenco 90625a3438
Merge pull request #2176 from j178/fix-read-timeout
fix(internal/pool): call SetDeadline even if timeout is zero
2022-10-05 10:41:42 +03:00
Vladimir Mihailenco bac50ce2e9 chore: allow to disable timeouts 2022-10-05 10:36:12 +03:00
Vladimir Mihailenco fda4feef7a
Merge pull request #2177 from j178/sharded-pubsub
feat(pubsub): support sharded pub/sub
2022-10-05 10:21:19 +03:00
Vladimir Mihailenco 965ecdeb07
Merge pull request #2190 from go-redis/feat/set-addrs
Feat/set addrs
2022-10-05 10:18:30 +03:00
Vladimir Mihailenco 2bcb060d6a chore: update example 2022-10-05 10:06:54 +03:00
Vladimir Mihailenco 1a38ccb80e Merge branch 'master' of github.com:go-redis/redis 2022-10-04 15:16:41 +03:00
Vladimir Mihailenco d3df06039d Merge branch 'otel-ignore-raw-cmd' 2022-10-04 15:16:23 +03:00
Mitch Usher 3129e09b29 Update redis otel with option to not set raw command as an attribute 2022-10-04 15:16:14 +03:00
Vladimir Mihailenco 30bea19891
Merge pull request #2210 from go-redis/dependabot/go_modules/github.com/onsi/gomega-1.20.2
chore(deps): bump github.com/onsi/gomega from 1.20.0 to 1.20.2
2022-10-04 15:09:45 +03:00
Vladimir Mihailenco aaba70a3a7 chore: fix example 2022-10-04 15:09:05 +03:00
Rusty Magnet 77dabc3019
docs: another ScanType example with "Hash" as the KeyType (#2212)
* docs: example ScanType call that passes in Hash and gets all keys

* docs: added further example_scantype

* docs: updated comment of ExampleClient_ScanType_Type_Hash
2022-10-04 15:05:14 +03:00
Vladimir Mihailenco 400ce60e74
Merge pull request #2213 from costela/bump_otel_deps_and_semconv
chore(redisotel): bump deps
2022-10-04 15:03:48 +03:00
Vladimir Mihailenco be25907703
Merge pull request #2221 from tisonkun/eval_ro
feat: support eval_ro and evalsha_ro
2022-10-04 14:29:22 +03:00
tison d56af1f2d1
feat: support eval_ro and evalsha_ro
Signed-off-by: tison <wander4096@gmail.com>
2022-09-24 11:38:04 +08:00
Leo Antunes c0a6f2d724 chore(redisotel): bump deps 2022-09-16 13:20:00 +02:00
Vladimir Mihailenco 4dcf3cca72 chore: update readme 2022-09-15 12:01:14 +03:00
dependabot[bot] 0f5495d469
chore(deps): bump github.com/onsi/gomega from 1.20.0 to 1.20.2
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.20.0 to 1.20.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.20.0...v1.20.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 12:36:28 +00:00
tison c99340abb0
chore: correct Kvrocks spells and new repo location (#2202) 2022-09-01 11:00:37 +03:00
Mikhail Mazurskiy 63392a363a
fix: return early when context signals done 2022-08-26 20:55:45 +10:00