File tree Expand file tree Collapse file tree 5 files changed +10
-16
lines changed Expand file tree Collapse file tree 5 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -273,10 +273,7 @@ pub async fn add_api_key_expiry_task(
273
273
metrics:: TASKS_ADDED_COUNT . add (
274
274
& metrics:: CONTEXT ,
275
275
1 ,
276
- & [ metrics:: request:: add_attributes (
277
- "api_key_expiry" ,
278
- format ! ( "{:#?}" , expiry_reminder_days. to_owned( ) ) ,
279
- ) ] ,
276
+ & [ metrics:: request:: add_attributes ( "flow" , "ApiKeyExpiry" ) ] ,
280
277
) ;
281
278
282
279
Ok ( ( ) )
Original file line number Diff line number Diff line change @@ -988,8 +988,8 @@ pub async fn start_tokenize_data_workflow(
988
988
& metrics:: CONTEXT ,
989
989
1 ,
990
990
& [ metrics:: request:: add_attributes (
991
- "delete_tokenize_data " ,
992
- "DELETE_TOKENIZE_DATA " ,
991
+ "flow " ,
992
+ "DeleteTokenizeData " ,
993
993
) ] ,
994
994
) ;
995
995
}
@@ -1040,8 +1040,8 @@ pub async fn retry_delete_tokenize(
1040
1040
& metrics:: CONTEXT ,
1041
1041
1 ,
1042
1042
& [ metrics:: request:: add_attributes (
1043
- "delete_tokenize_data " ,
1044
- "DELETE_TOKENIZE_DATA " ,
1043
+ "flow " ,
1044
+ "DeleteTokenizeData " ,
1045
1045
) ] ,
1046
1046
) ;
1047
1047
retry_schedule
Original file line number Diff line number Diff line change @@ -991,7 +991,7 @@ where
991
991
& metrics:: CONTEXT ,
992
992
1 ,
993
993
& [ metrics:: request:: add_attributes (
994
- "operation " ,
994
+ "flow " ,
995
995
format ! ( "{:#?}" , operation) ,
996
996
) ] ,
997
997
) ;
@@ -1006,7 +1006,7 @@ where
1006
1006
& metrics:: CONTEXT ,
1007
1007
1 ,
1008
1008
& [ metrics:: request:: add_attributes (
1009
- "operation " ,
1009
+ "flow " ,
1010
1010
format ! ( "{:#?}" , operation) ,
1011
1011
) ] ,
1012
1012
) ;
Original file line number Diff line number Diff line change @@ -1091,7 +1091,7 @@ pub async fn add_refund_sync_task(
1091
1091
metrics:: TASKS_ADDED_COUNT . add (
1092
1092
& metrics:: CONTEXT ,
1093
1093
1 ,
1094
- & [ metrics:: request:: add_attributes ( "refund " , "REFUND " ) ] ,
1094
+ & [ metrics:: request:: add_attributes ( "flow " , "Refund " ) ] ,
1095
1095
) ;
1096
1096
1097
1097
Ok ( response)
@@ -1181,7 +1181,7 @@ pub async fn retry_refund_sync_task(
1181
1181
metrics:: TASKS_RESET_COUNT . add (
1182
1182
& metrics:: CONTEXT ,
1183
1183
1 ,
1184
- & [ metrics:: request:: add_attributes ( "refund " , "REFUND " ) ] ,
1184
+ & [ metrics:: request:: add_attributes ( "flow " , "Refund " ) ] ,
1185
1185
) ;
1186
1186
retry_schedule
1187
1187
}
Original file line number Diff line number Diff line change @@ -119,10 +119,7 @@ Team Hyperswitch"),
119
119
metrics:: TASKS_RESET_COUNT . add (
120
120
& metrics:: CONTEXT ,
121
121
1 ,
122
- & [ metrics:: request:: add_attributes (
123
- "api_key_expiry" ,
124
- format ! ( "API KEY EXPIRY" ) ,
125
- ) ] ,
122
+ & [ metrics:: request:: add_attributes ( "flow" , "ApiKeyExpiry" ) ] ,
126
123
) ;
127
124
}
128
125
You can’t perform that action at this time.
0 commit comments