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
feat(spans): track and report spans that were dropped (#4005)
`_SpanRecorder` now keeps track of `dropped_spans`, i.e. when above
`max_spans`.
When spans were dropped, the `"spans"` property will be wrapped in an
`AnnotatedValue`, reporting the mutation.
"""The value was removed because it could not be parsed. This is done for request body values that are not json nor a form."""
37
+
returnAnnotatedValue(
38
+
value="",
39
+
metadata={
40
+
"rem": [ # Remark
41
+
[
42
+
"!raw", # Unparsable raw data
43
+
"x", # The fields original value was removed
44
+
]
45
+
]
46
+
},
47
+
)
48
+
49
+
@classmethod
50
+
defremoved_because_over_size_limit(cls):
51
+
# type: () -> AnnotatedValue
52
+
"""The actual value was removed because the size of the field exceeded the configured maximum size (specified with the max_request_body_size sdk option)"""
"""The value was removed because it could not be parsed. This is done for request body values that are not json nor a form."""
433
-
returnAnnotatedValue(
434
-
value="",
435
-
metadata={
436
-
"rem": [ # Remark
437
-
[
438
-
"!raw", # Unparsable raw data
439
-
"x", # The fields original value was removed
440
-
]
441
-
]
442
-
},
443
-
)
444
-
445
-
@classmethod
446
-
defremoved_because_over_size_limit(cls):
447
-
# type: () -> AnnotatedValue
448
-
"""The actual value was removed because the size of the field exceeded the configured maximum size (specified with the max_request_body_size sdk option)"""
0 commit comments