File tree Expand file tree Collapse file tree
lambdas/supplier-allocator/src/handler Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,9 +152,8 @@ function emitSupCampaignClientMetric(
152152) {
153153 const namespace = "supplier-allocator" ;
154154 const { campaignId, clientId } = letterEvent . data ;
155- console . log ( "VLASIS and the campaignId is:" , campaignId ) ;
156155 const dimensions : Record < string , string > = {
157- Supplier : "supplierVlasis" ,
156+ Supplier : supplier ,
158157 ClientId : clientId ,
159158 CampaignId : campaignId || "unknown" ,
160159 } ;
@@ -222,9 +221,6 @@ export default function createSupplierAllocatorHandler(deps: Deps): SQSHandler {
222221 ) ;
223222
224223 incrementMetric ( perAllocationSuccess , supplier , priority ) ;
225- // increment clientid
226- // increment campaignid
227- // emit metric with current supplier, clientId and campaignId
228224 emitSupCampaignClientMetric (
229225 letterEvent ,
230226 supplier ,
You can’t perform that action at this time.
0 commit comments