No Analytics Traffic in the Edge UI

Not applicable

Hello I am running version 4.17.01.05.

Traffic is flowing through the proxies and functionality is working. However I am seeing no analytical data about traffic in the browser interface.

- The traffic column on the API Proxies page displays 0 for all proxies

- Proxy performance and other screens display "No Data for Time Range" despite any time range entered.

- There are no visible performance graphs

Solved Solved
0 2 588
1 ACCEPTED SOLUTION

Not applicable

Analytics Fix

To fix the missing analytics data in industry test the following configuration should be checked and configured.

Analytics Group

An analytics group must be created containing UUIDs for Postgres Servers, Qpid servers, a consumer group with qpid consumers and postgres datastores. Postgres datastores may be clustered in Active/Standby. It must also contain properties for region and consumer-type. The default group is axgroup-001. This is fine, but check it contains all the correct settings. In the below documentation steps 1 through to 3.

As a pre-req for the above analytics group. Postgres and Qpidd must be installed and running with generated UUIDs. This is done with the ansible installation of Apigee.

Once the analytics group is created the scope can be updated to associate this group with an org and environment. Step 4 in the documentation will achieve this.

https://docs.apigee.com/private-cloud/v4.17.01/adding-new-analytics-group

Note: The UUIDs of Postgres and Qpid services must be correct, as installed. Remove any old UUIDs from the analytics group and from the management server which are not active due to any re-installation.

Pods

There are 3 pod types. Gateway, central and analytics. By default, gateway is the only pod associated with the org and environment. Associate the central and analytics pods to the org and environment as well. The region should all be dc-1. The below API docs will help:

https://docs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/pods
https://docs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/pods
https://docs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/pods-0

Restart

Restart all Apigee services

View solution in original post

2 REPLIES 2

Not applicable

Analytics Fix

To fix the missing analytics data in industry test the following configuration should be checked and configured.

Analytics Group

An analytics group must be created containing UUIDs for Postgres Servers, Qpid servers, a consumer group with qpid consumers and postgres datastores. Postgres datastores may be clustered in Active/Standby. It must also contain properties for region and consumer-type. The default group is axgroup-001. This is fine, but check it contains all the correct settings. In the below documentation steps 1 through to 3.

As a pre-req for the above analytics group. Postgres and Qpidd must be installed and running with generated UUIDs. This is done with the ansible installation of Apigee.

Once the analytics group is created the scope can be updated to associate this group with an org and environment. Step 4 in the documentation will achieve this.

https://docs.apigee.com/private-cloud/v4.17.01/adding-new-analytics-group

Note: The UUIDs of Postgres and Qpid services must be correct, as installed. Remove any old UUIDs from the analytics group and from the management server which are not active due to any re-installation.

Pods

There are 3 pod types. Gateway, central and analytics. By default, gateway is the only pod associated with the org and environment. Associate the central and analytics pods to the org and environment as well. The region should all be dc-1. The below API docs will help:

https://docs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/pods
https://docs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/pods
https://docs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/pods-0

Restart

Restart all Apigee services

Adding to Stephan's answer: Please check to see if the Postgres database is getting the analytics data. Check your main fact table(s) for latest data using "select max(client_received_start_tiemtamp) from analytics.<org>.<env>,fact"

If data is not showing up, check the analytics group information and restart all analytics services.