Skip to content

Commit 669c7f8

Browse files
committed
modify libs to valkey from redis
1 parent 87633d2 commit 669c7f8

File tree

13 files changed

+636
-570
lines changed

13 files changed

+636
-570
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
OpenTelemetry Redis Instrumentation
1+
OpenTelemetry Valkey Instrumentation
22
===================================
33

44
|pypi|
55

6-
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-redis.svg
7-
:target: https://pypi.org/project/opentelemetry-instrumentation-redis/
6+
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-valkey.svg
7+
:target: https://pypi.org/project/opentelemetry-instrumentation-valkey/
88

9-
This library allows tracing requests made by the Redis library.
9+
This library allows tracing requests made by the Valkey library.
1010

1111
Installation
1212
------------
1313

1414
::
1515

16-
pip install opentelemetry-instrumentation-redis
16+
pip install opentelemetry-instrumentation-valkey
1717

1818
References
1919
----------
2020

21-
* `OpenTelemetry Redis Instrumentation <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/redis/redis.html>`_
21+
* `OpenTelemetry Valkey Instrumentation <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/valkey/valkey.html>`_
2222
* `OpenTelemetry Project <https://opentelemetry.io/>`_
2323
* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_

instrumentation/opentelemetry-instrumentation-valkey/pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "opentelemetry-instrumentation-redis"
6+
name = "opentelemetry-instrumentation-valkey"
77
dynamic = ["version"]
8-
description = "OpenTelemetry Redis instrumentation"
8+
description = "OpenTelemetry Valkey instrumentation"
99
readme = "README.rst"
1010
license = "Apache-2.0"
1111
requires-python = ">=3.8"
@@ -34,18 +34,18 @@ dependencies = [
3434

3535
[project.optional-dependencies]
3636
instruments = [
37-
"redis >= 2.6",
37+
"valkey[libvalkey] >= 6.1.0",
3838
]
3939

4040
[project.entry-points.opentelemetry_instrumentor]
41-
redis = "opentelemetry.instrumentation.redis:RedisInstrumentor"
41+
valkey = "opentelemetry.instrumentation.valkey:ValkeyInstrumentor"
4242

4343
[project.urls]
44-
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-redis"
44+
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-valkey"
4545
Repository = "https://github.com/open-telemetry/opentelemetry-python-contrib"
4646

4747
[tool.hatch.version]
48-
path = "src/opentelemetry/instrumentation/redis/version.py"
48+
path = "src/opentelemetry/instrumentation/valkey/version.py"
4949

5050
[tool.hatch.build.targets.sdist]
5151
include = [

0 commit comments

Comments
 (0)