Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6347

MetricsCollector incorrectly counts serverBatches, so the sending process seem to not have finished

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • None
    • None

      The issue is illustrated on the UI and following response snippet:

      notice servedVariants < totalVariants

      ...
      {  
            "id":"f46a6560-dddc-46a4-a84c-f078fec67477",
            "pushApplicationId":"9cacb7b4-ec19-4f4d-a15d-b3c9ba4bfd22",
            "rawJsonMessage":"{\"alert\":\"erg\",\"criteria\":{\"categories\":null,\"variants\":null,\"alias\":null,\"deviceType\":null},\"config\":{\"ttl\":-1}}",
            "ipAddress":"127.0.0.1",
            "clientIdentifier":"AeroGear UnifiedPush Console",
            "submitDate":1433501113730,
            "totalReceivers":4,
            "appOpenCounter":0,
            "firstOpenDate":null,
            "lastOpenDate":null,
            "servedVariants":2,
            "totalVariants":4,
            "variantInformations":[  
               {  
                  "id":"94a2b46a-34ec-4d6b-8576-34789cdece02",
                  "variantID":"9a734c0d-fec5-49da-aad7-7f12f298481e",
                  "receivers":0,
                  "deliveryStatus":true,
                  "reason":null,
                  "variantOpenCounter":0,
                  "servedBatches":0,
                  "totalBatches":0
               },
               {  
                  "id":"89fd61f8-bdb8-409a-b029-73a2d3b6ed29",
                  "variantID":"3d5b774a-7ffc-4971-8bb6-e12f9058b8ff",
                  "receivers":1,
                  "deliveryStatus":false,
                  "reason":"Error sending payload to GCM server",
                  "variantOpenCounter":0,
                  "servedBatches":1,
                  "totalBatches":1
               },
               {  
                  "id":"34f939aa-c8ab-4159-84ff-ace8f5f64e02",
                  "variantID":"24f017c9-9d0b-4160-acdf-47396ff25b27",
                  "receivers":4,
                  "deliveryStatus":false,
                  "reason":"Error delivering SimplePush payload",
                  "variantOpenCounter":0,
                  "servedBatches":1,
                  "totalBatches":1
               },
               {  
                  "id":"f78b95a8-8a42-4933-97e2-1c11c4612089",
                  "variantID":"f5c69cba-047d-48f8-8b72-d3c6b89ce56e",
                  "receivers":0,
                  "deliveryStatus":true,
                  "reason":null,
                  "variantOpenCounter":0,
                  "servedBatches":0,
                  "totalBatches":0
               }
            ]
         },
      ...
      

              Unassigned Unassigned
              lfryc Lukáš Fryč (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: