I have wso2 apim 1.10.0 running diff product profiles (manager,worker,publisher and store) in different docker containers. I also have DAS running on a diff docker container. Im trying to view the published the statistics (https://docs.wso2.com/display/AM1100/Publishing+API+Runtime+Statistics+Using+REST+Client) but I dont see anything published. I dont see any errors in the logs. When I try to look at the statistics in the publisher/store, I get a static HTML page with a message "Data Publishing enabled.Generate some traffic to see statistics". How can i debug this?
0
votes
1 Answers
0
votes
1) check whether you have correctly configured the <DASServerURL>
and <DASRestApiURL>
in api-manager.xml(since you enabled stats from the conf file)
2) Deploy the sample calculator API
3) subscribe to it and generate some traffic
The publisher statistics will not be updated until a spark script(APIM_STAT_SCRIPT
) is executed in DAS. This script is configured to run automatically from time to time.
If you still see the "Data Publishing enabled.Generate some traffic to see statistics
" message, then login to the DAS server and execute this script manually.
Once this script is executed the stats should be updated accordingly.