Skip to content

Commit e31477c

Browse files
authored
Merge branch 'main' into fix-fastapi-url
2 parents 5e604b9 + edb34e6 commit e31477c

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4848
([#3699](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3699))
4949
- `opentelemetry-instrumentation-botocore`: Add support for SNS semantic convention attribute aws.sns.topic.arn
5050
([#3734](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3734))
51+
- `opentelemetry-instrumentation`: botocore: upgrade moto package from 5.0.9 to 5.1.11
52+
([#3736](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3736))
5153

5254
## Version 1.36.0/0.57b0 (2025-07-29)
5355

instrumentation/opentelemetry-instrumentation-botocore/test-requirements-0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ iniconfig==2.0.0
1313
Jinja2==3.1.6
1414
jmespath==1.0.1
1515
MarkupSafe==2.1.5
16-
moto==5.0.9
16+
moto==5.1.11
1717
packaging==24.0
1818
pluggy==1.5.0
1919
py-cpuinfo==9.0.0

instrumentation/opentelemetry-instrumentation-botocore/test-requirements-1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ iniconfig==2.0.0
1313
Jinja2==3.1.6
1414
jmespath==1.0.1
1515
MarkupSafe==2.1.5
16-
moto==5.0.9
16+
moto==5.1.11
1717
packaging==24.0
1818
pluggy==1.5.0
1919
py-cpuinfo==9.0.0

instrumentation/opentelemetry-instrumentation-botocore/tests/test_botocore_dynamodb.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def test_scan(self):
439439
Limit=42,
440440
Select="ALL_ATTRIBUTES",
441441
TotalSegments=17,
442-
Segment=21,
442+
Segment=16,
443443
ProjectionExpression="PE",
444444
ConsistentRead=True,
445445
ReturnConsumedCapacity="TOTAL",
@@ -448,14 +448,14 @@ def test_scan(self):
448448
span = self.assert_span("Scan")
449449
self.assert_table_names(span, self.default_table_name)
450450
self.assertEqual(
451-
21, span.attributes[SpanAttributes.AWS_DYNAMODB_SEGMENT]
451+
16, span.attributes[SpanAttributes.AWS_DYNAMODB_SEGMENT]
452452
)
453453
self.assertEqual(
454454
17, span.attributes[SpanAttributes.AWS_DYNAMODB_TOTAL_SEGMENTS]
455455
)
456-
self.assertEqual(1, span.attributes[SpanAttributes.AWS_DYNAMODB_COUNT])
456+
self.assertEqual(0, span.attributes[SpanAttributes.AWS_DYNAMODB_COUNT])
457457
self.assertEqual(
458-
1, span.attributes[SpanAttributes.AWS_DYNAMODB_SCANNED_COUNT]
458+
0, span.attributes[SpanAttributes.AWS_DYNAMODB_SCANNED_COUNT]
459459
)
460460
self.assert_attributes_to_get(span, "id", "idl")
461461
self.assert_consistent_read(span, True)

0 commit comments

Comments
 (0)