I've configured WSO2 ESB Analytics and data seems to be posting to analytics server. But once clicked on Success or Failed records the relevant message flow data isnt displayed. I've configured data to be stored on oracle database. Any idea why this happens?
Related
We trying to integrate our own project in WS02, to bring informations with Choreo
I followed the documentation (generate the key for authentication, but I'm not getting information from Choreo analytics,
Follow prints of what was done.
Config authentiction token:
Insights (doesn't working)
From the printscreen you sent it looks like there are some issues in the .toml file, first you should uncomment the "#" in front of [apim.analytics], if you don't do this, the configuration will not be processed correctly. There are also two letters on the same line that shouldn't be there "hy", you may remove that.
Do this, restart the WSO2 APIM nodes and send some requets to APIs served by the gateway, then check if the analytics data appears on Choreo.
Also, please notice that Choreo Analytics is an enterprise feature that is only available through an active WSO2 subscription. Without the subscription, the API key you generated will only last for 2 weeks before becoming unactive. If you wish to talk about getting a WSO2 Support Subscription for you company you can reach out to WSO2 through the link below:
https://wso2.com/contact/
I have enabled WSO2 EI to publish data to Analytics profile which resides inside wso2 EI product by default. API Request Count, Message Count , Message Latency are able to seen in dashboard. But I'm unable to find out anything in Messages section of API Page in Dashboard.
Synapse.properties file:
API Request Count :
API Message Count and Latency:
Message Section is Empty:
I'm unable to do search operation in Dashboard, Shall i know the reason for this?
Can you try configuring the following in synapse.properties file [1].
mediation.flow.statistics.enable=true
mediation.flow.statistics.tracer.collect.payloads=true
mediation.flow.statistics.tracer.collect.properties=true
[1]-https://docs.wso2.com/display/EI660/Publishing+ESB+Data+to+Analytics
I have configured WSO2 API Manager and WSO2 AM Analytics as per following document - https://docs.wso2.com/display/AM200/Configuring+APIM+Analytics
I could see generated analytics data on analytics server carbon admin dashboard under Home>Manage>Interactive Analytics>Data Explorer but when I try Statistics on API Publisher or store it is giving following error in the log of api manager: please advise. thanks.
[2017-01-06 03:56:34,768] ERROR - usage:jag org.wso2.carbon.apimgt.usage.client.exception.APIMgtUsageQueryServiceClientException: Error occurred while querying from JDBC databaseERROR: relation "api_request_summary" does not exist
Position: 34
[2017-01-06 03:56:48,820] ERROR - usage:jag org.wso2.carbon.apimgt.usage.client.exception.APIMgtUsageQueryServiceClientException: Error occurred while querying from JDBC databaseERROR: relation "api_request_summary" does not exist
Thanks #Bhathiya, I was able to figure out. I was having two different database for wso2am_stats_db defined and configured with data-sources for API manager and API Manager analytics, where as both should be configured to same db. Once i changed the data-source (WSO2AM_STATS_DB) of API manager to same database which is configured with analytics. It worked and i was able see all analytics on store and publisher.
got some help from following references:
How to manage billing with WSO 2 AM (2.0.0)
I installed the APIM and started the APIM and created a new API. The ApI which i created comprises of a URL which points at our company production server. I gave the URL in the api creation mode to the production endpoint and sandbox Endpoint boxes. Then i set the required parameters under the GET method. Then i try it out at the store but the request does not hit the production server. I want to see the URL output from your api manager which passes to our production server. Because i want to see what is whether there is an error on that as it it doesnot hit our production server.
Can you help me with the issue?
Thanks in advance.
You can enable wire log to see the what are the requests which came to APIM and what are the requests APIM made for backend. Follow the steps in How to get wire logs from WSO2 ESB blog post to enable wire log. Those instructions are given for ESB, but they are valid for APIM as well.
I'm using independent wso2 API manager 1.10.0 and wso2 DAS 3.0.0
I have configured REST client for publishing statistics
I published some event and i'm able to see some data in WSO2AM_STATS_DB datasource (api_request_summary,...)
The strange problem is that some statistics are showing in the publisher UI interface (API Subscriptions,API Response Times,API Last Access Times) but in the other pages I'm getting No Data Available message
Any explication to this strange message
I think your setup is working fine. You see data in AM_STATS_DB means published data is being analyzed and stored there. There are some pages in the stats page which will show the message "No data available" if there are no relevant data. For example the "Faulty invocation", "Throttled out requests" pages.
If you invoke an api with wrong token, it will appear in the faulty invocation page. If you send requests to an api until they get throttled out (high TPS), it will appear in the throttled out requests page.