Analytics not working in CA Portal 4.2.9.3 for gateway published services

book

Article ID: 195043

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

Analytics is not working in  CA API Developer Portal 4.2.9.3 when using gateway published services.

There is no Analytics shown at Developer Portal. All the values & graphs shown on API Portal are the hardcoded values.
We never managed to see any Analytics on any of our environments every dashboard shows no values.
We are using only gateway published services, we followed the procedure in the documentation 

 

Environment

Release : 4.2

Component : API PORTAL

Resolution

For gateway published policy's on portal 4.2.9 you need to follow the steps in the documentation.

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-developer-portal/4-2/publishers/manage-apis/publish-apis.html

In this step, it says to use the fragment you have installed using the curl command
From the Internal Assertions list, add API Portal Integration Fragment - API Key or API Portal Integration Fragment - OAuth 2.0 snippet to your API service, depending on your method of API protection.
These are fragments and can not be dragged and dropped directly into the service policy.
You need to use the include fragment assertion for it like you do with the post route fragment.

So for analytics to work you need to use the API Portal Integration Fragment  for example  "API Portal Integration FragmentAPI Key"  and not the encapsulated assertion “Standard Policy Fragment -API Key"