Skip to content

Commit f9628f9

Browse files
authored
Merge branch '3.x-staging' into yunkim/fix-langchain-deprecated-cost
2 parents a645ba2 + 33ad7b3 commit f9628f9

File tree

65 files changed

+3752
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+3752
-3
lines changed

.github/COMMIT_TEMPLATE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ feat/fix/docs/refactor/ci(xxx): commit title here
2929
# mysqlpython, openai, opentelemetry, opentracer, profile, psycopg, pylibmc, pymemcache,
3030
# pymongo, pymysql, pynamodb, pyodbc, pyramid, pytest, redis, rediscluster, requests, rq,
3131
# sanic, snowflake, sourcecode, sqlalchemy, starlette, stdlib, structlog, subprocess,
32-
# telemetry, test_logging, tornado, tracer, unittest, urllib3, vendor, vertica, wsgi,
32+
# telemetry, test_logging, tornado, tracer, unittest, urllib3, valkey, vendor, vertica, wsgi,
3333
# yaaredis

.gitlab/services.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
redis:
2929
name: registry.ddbuild.io/redis:7.0.7
3030
alias: redis
31+
valkey:
32+
name: registry.ddbuild.io/images/mirror/valkey:8.0-alpine
33+
alias: valkey
3134
kafka:
3235
name: registry.ddbuild.io/images/mirror/apache/kafka:3.8.0
3336
alias: kafka
@@ -54,6 +57,9 @@
5457
rediscluster:
5558
name: registry.ddbuild.io/images/mirror/grokzen/redis-cluster:6.2.0
5659
alias: rediscluster
60+
valkeycluster:
61+
name: registry.ddbuild.io/images/mirror/grokzen/redis-cluster:6.2.0
62+
alias: valkeycluster
5763
elasticsearch:
5864
name: registry.ddbuild.io/images/mirror/library/elasticsearch:7.17.23
5965
alias: elasticsearch

.riot/requirements/11ac941.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.8
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/11ac941.in
6+
#
7+
async-timeout==5.0.1
8+
attrs==24.3.0
9+
coverage[toml]==7.6.1
10+
exceptiongroup==1.2.2
11+
hypothesis==6.45.0
12+
importlib-metadata==8.5.0
13+
iniconfig==2.0.0
14+
mock==5.1.0
15+
opentracing==2.4.0
16+
packaging==24.2
17+
pluggy==1.5.0
18+
pytest==8.3.4
19+
pytest-asyncio==0.23.7
20+
pytest-cov==5.0.0
21+
pytest-mock==3.14.0
22+
pytest-randomly==3.15.0
23+
sortedcontainers==2.4.0
24+
tomli==2.2.1
25+
valkey==6.0.2
26+
zipp==3.20.2

.riot/requirements/1e98e9b.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.9
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1e98e9b.in
6+
#
7+
async-timeout==5.0.1
8+
attrs==24.3.0
9+
coverage[toml]==7.6.10
10+
exceptiongroup==1.2.2
11+
hypothesis==6.45.0
12+
importlib-metadata==8.5.0
13+
iniconfig==2.0.0
14+
mock==5.1.0
15+
opentracing==2.4.0
16+
packaging==24.2
17+
pluggy==1.5.0
18+
pytest==8.3.4
19+
pytest-asyncio==0.23.7
20+
pytest-cov==6.0.0
21+
pytest-mock==3.14.0
22+
pytest-randomly==3.16.0
23+
sortedcontainers==2.4.0
24+
tomli==2.2.1
25+
valkey==6.0.2
26+
zipp==3.21.0

.riot/requirements/4aa2a2a.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/4aa2a2a.in
6+
#
7+
async-timeout==5.0.1
8+
attrs==24.3.0
9+
coverage[toml]==7.6.10
10+
hypothesis==6.45.0
11+
iniconfig==2.0.0
12+
mock==5.1.0
13+
opentracing==2.4.0
14+
packaging==24.2
15+
pluggy==1.5.0
16+
pytest==8.3.4
17+
pytest-asyncio==0.23.7
18+
pytest-cov==6.0.0
19+
pytest-mock==3.14.0
20+
pytest-randomly==3.16.0
21+
sortedcontainers==2.4.0
22+
valkey==6.0.2

.riot/requirements/7219cf4.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.13
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/7219cf4.in
6+
#
7+
attrs==24.3.0
8+
coverage[toml]==7.6.10
9+
hypothesis==6.45.0
10+
iniconfig==2.0.0
11+
mock==5.1.0
12+
opentracing==2.4.0
13+
packaging==24.2
14+
pluggy==1.5.0
15+
pytest==8.3.4
16+
pytest-asyncio==0.23.7
17+
pytest-cov==6.0.0
18+
pytest-mock==3.14.0
19+
pytest-randomly==3.16.0
20+
sortedcontainers==2.4.0
21+
valkey==6.0.2

.riot/requirements/b96b665.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/b96b665.in
6+
#
7+
attrs==24.3.0
8+
coverage[toml]==7.6.10
9+
hypothesis==6.45.0
10+
iniconfig==2.0.0
11+
mock==5.1.0
12+
opentracing==2.4.0
13+
packaging==24.2
14+
pluggy==1.5.0
15+
pytest==8.3.4
16+
pytest-asyncio==0.23.7
17+
pytest-cov==6.0.0
18+
pytest-mock==3.14.0
19+
pytest-randomly==3.16.0
20+
sortedcontainers==2.4.0
21+
valkey==6.0.2

.riot/requirements/dd68acc.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.10
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/dd68acc.in
6+
#
7+
async-timeout==5.0.1
8+
attrs==24.3.0
9+
coverage[toml]==7.6.10
10+
exceptiongroup==1.2.2
11+
hypothesis==6.45.0
12+
iniconfig==2.0.0
13+
mock==5.1.0
14+
opentracing==2.4.0
15+
packaging==24.2
16+
pluggy==1.5.0
17+
pytest==8.3.4
18+
pytest-asyncio==0.23.7
19+
pytest-cov==6.0.0
20+
pytest-mock==3.14.0
21+
pytest-randomly==3.16.0
22+
sortedcontainers==2.4.0
23+
tomli==2.2.1
24+
valkey==6.0.2

ddtrace/_monkey.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
"unittest": True,
106106
"coverage": False,
107107
"selenium": True,
108+
"valkey": True,
108109
}
109110

110111

ddtrace/_trace/trace_handlers.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,11 @@ def _on_redis_command_post(ctx: core.ExecutionContext, rowcount):
688688
ctx.span.set_metric(db.ROWCOUNT, rowcount)
689689

690690

691+
def _on_valkey_command_post(ctx: core.ExecutionContext, rowcount):
692+
if rowcount is not None:
693+
ctx.span.set_metric(db.ROWCOUNT, rowcount)
694+
695+
691696
def _on_test_visibility_enable(config) -> None:
692697
from ddtrace.internal.ci_visibility import CIVisibility
693698

@@ -797,6 +802,8 @@ def listen():
797802
core.on("botocore.kinesis.GetRecords.post", _on_botocore_kinesis_getrecords_post)
798803
core.on("redis.async_command.post", _on_redis_command_post)
799804
core.on("redis.command.post", _on_redis_command_post)
805+
core.on("valkey.async_command.post", _on_valkey_command_post)
806+
core.on("valkey.command.post", _on_valkey_command_post)
800807
core.on("azure.functions.request_call_modifier", _on_azure_functions_request_span_modifier)
801808
core.on("azure.functions.start_response", _on_azure_functions_start_response)
802809

@@ -838,6 +845,7 @@ def listen():
838845
"botocore.patched_stepfunctions_api_call",
839846
"botocore.patched_bedrock_api_call",
840847
"redis.command",
848+
"valkey.command",
841849
"rq.queue.enqueue_job",
842850
"rq.traced_queue_fetch_job",
843851
"rq.worker.perform_job",

0 commit comments

Comments
 (0)