@@ -28,13 +28,27 @@ def telemetry():
2828 "record_retry" ,
2929 {"operation" : "Query" , "region" : "eu-west-1" , "reason" : "Throttled" },
3030 "aiodynamo.retries" ,
31- (1 , {"db.operation" : "Query" , "aws.region" : "eu-west-1" , "reason" : "Throttled" }),
31+ (
32+ 1 ,
33+ {
34+ "db.operation" : "Query" ,
35+ "aws.region" : "eu-west-1" ,
36+ "reason" : "Throttled" ,
37+ },
38+ ),
3239 ),
3340 (
3441 "record_error" ,
3542 {"operation" : "Scan" , "region" : "us-east-1" , "error_type" : "TimeoutError" },
3643 "aiodynamo.errors" ,
37- (1 , {"db.operation" : "Scan" , "aws.region" : "us-east-1" , "error.type" : "TimeoutError" }),
44+ (
45+ 1 ,
46+ {
47+ "db.operation" : "Scan" ,
48+ "aws.region" : "us-east-1" ,
49+ "error.type" : "TimeoutError" ,
50+ },
51+ ),
3852 ),
3953 (
4054 "record_request_duration" ,
@@ -43,28 +57,28 @@ def telemetry():
4357 (0.25 , {"db.operation" : "DeleteItem" , "aws.region" : "us-east-1" }),
4458 ),
4559 (
46- "record_batch_items" ,
47- {"operation" : "BatchGetItem" , "region" : "us-east-1" , "count" : 32 },
48- "aiodynamo.batch.items_total" ,
49- (32 , {"db.operation" : "BatchGetItem" , "aws.region" : "us-east-1" }),
60+ "record_batch_items" ,
61+ {"operation" : "BatchGetItem" , "region" : "us-east-1" , "count" : 32 },
62+ "aiodynamo.batch.items_total" ,
63+ (32 , {"db.operation" : "BatchGetItem" , "aws.region" : "us-east-1" }),
5064 ),
5165 (
52- "record_batch_items" ,
53- {"operation" : "BatchWriteItem" , "region" : "us-east-1" , "count" : 1111 },
54- "aiodynamo.batch.items_total" ,
55- (1111 , {"db.operation" : "BatchWriteItem" , "aws.region" : "us-east-1" }),
66+ "record_batch_items" ,
67+ {"operation" : "BatchWriteItem" , "region" : "us-east-1" , "count" : 1111 },
68+ "aiodynamo.batch.items_total" ,
69+ (1111 , {"db.operation" : "BatchWriteItem" , "aws.region" : "us-east-1" }),
5670 ),
5771 (
58- "record_batch_unprocessed_items" ,
59- {"operation" : "BatchWriteItem" , "region" : "us-east-1" , "count" : 5 },
60- "aiodynamo.batch.unprocessed_items_total" ,
61- (5 , {"db.operation" : "BatchWriteItem" , "aws.region" : "us-east-1" }),
72+ "record_batch_unprocessed_items" ,
73+ {"operation" : "BatchWriteItem" , "region" : "us-east-1" , "count" : 5 },
74+ "aiodynamo.batch.unprocessed_items_total" ,
75+ (5 , {"db.operation" : "BatchWriteItem" , "aws.region" : "us-east-1" }),
6276 ),
6377 (
64- "record_batch_duration" ,
65- {"operation" : "BatchWriteItem" , "region" : "us-east-1" , "duration" : 0.42 },
66- "aiodynamo.batch.duration" ,
67- (0.42 , {"db.operation" : "BatchWriteItem" , "aws.region" : "us-east-1" }),
78+ "record_batch_duration" ,
79+ {"operation" : "BatchWriteItem" , "region" : "us-east-1" , "duration" : 0.42 },
80+ "aiodynamo.batch.duration" ,
81+ (0.42 , {"db.operation" : "BatchWriteItem" , "aws.region" : "us-east-1" }),
6882 ),
6983 ],
7084)
0 commit comments