Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Troubleshooting no analytics data in AIO (All in one) installation

Hi Apigeeks,

In my all-in-one local install ( 4/25 version ) Analytics data is not coming through. Need some advice on how to further debug this:

Here is what I already figured:

Step1: No analytics data in UI or via API

Query Analytics data

Query Analytics data
curl "http://host:8080/v1/organizations/nti/environments/prod/stats/apis?select=sum(message_count)&timeRange=6/24/2015%2000:00~7/22/2015%2000:00&timeUnit=day"  -v

{
  "environments" : [ {
    "metrics" : [ ],
    "name" : "prod"
  } ],
  "metaData" : {
    "errors" : [ ],
    "notices" : [ ],
    "queryInfo" : {
      "source pg" : "af5cc7ad-daa2-4bb2-b1ec-f5940dc25f7a"
    }
  }
}

Step 2 Analytics seems to be enabled

curl http://<host>:8080/v1/organizations/nti/environments/prod/provisioning/axstatus  

{
  "environments" : [ {
    "components" : [ {
      "hosts" : "[localhost]",
      "message" : "success",
      "name" : "qs",
      "status" : "SUCCESS",
      "uuid" : "[71071616-f81a-4200-a92a-dba549392498]"
    }, {
      "hosts" : "[localhost]",
      "message" : "success at Wed Jun 17 08:43:00 UTC 2015",
      "name" : "pg",
      "status" : "SUCCESS",
      "uuid" : "[af5cc7ad-daa2-4bb2-b1ec-f5940dc25f7a]"
    } ],
    "message" : "",
    "name" : "prod"
  } ],
  "organization" : "nti",
  "status" : "SUCCESS"
}

Step 3

The analytics messages are stuck in the queues. The postgress table is empty

Checked the qpid queue status823-screenshot.pngscreenshot.png(463.7 kB)

Step 4

Also checked that apigee postgres process is running. Tried restarting it as well. No error in the log as such.

transactions.log file is empty

Solved Solved
0 5 882
1 ACCEPTED SOLUTION

HI @santanu4g,

have you run this script?

<APIGEE_HOME>/apigee4/share/installer/apigee-postgres-register.sh

Thanks,

View solution in original post

5 REPLIES 5