h3. Description * This is a task for verification of *documentation* and *functionality of Data Sync service* * If you find any flaw or inconsistency in documentation, update this JIRA with its description: AEROGEAR-7894 - general verification of documentation was already done, so we'll try to fix all the mistakes found in the scope of one JIRA * If you find any bug, file a new JIRA and add it to the backlog with label {color:#59afe1}team-service-2{color}
h3. Steps
1. Create new project 2. Provision metrics-apb according to the [docs|https://docs.aerogear.org/aerogear/latest/mobile-metrics.html#setting-up-the-mobile-metrics-service] and go to grafana URL 3. Log in and you should be redirected to main page with *Mobile Services Dashboard* 4. Click on *Data sync* row and make sure each graph shows empty data and there’s no error message visible 5. Provision Data Sync APB in the same namespace by following steps in [docs|https://docs.aerogear.org/aerogear/latest/data-sync.html#monitoring] 6. Go to Grafana again, refresh the page with *Mobile Services* Dashboard 7. Graphs in Data sync row should be updated and actually show some values now. Verify: * Number of pods: 1 (also verify that when you scale up data sync server, it should be reflected here) * Version: 0.1.0 * Memory & CPU usage showing some values * Server response time should show some values for GET requests
8. Go to Data sync dashboard. Verify the graph names match the ones specified in [docs|https://docs.aerogear.org/aerogear/latest/data-sync.html#dashboard-panel-descriptions] * No error is visible * CPU & Memory + Server response time graphs are showing some values
9. Scale Data sync server pod to 2 replicas * Memory & CPU usage in Time show curves for each pod and also the average
10. Feed the DB with data from memeolist example schema & resolvers: * https://gist.github.com/psturc/fb4159616ada500664f5dc8ed640c950#file-memeolist-db-setup-md
11. You can use the memeolist client app or [this script|https://gist.github.com/psturc/fb4159616ada500664f5dc8ed640c950#file-mutation-query-load-js] to generate some values in graphs
12. Go back go Grafana and check that Queries/Mutations Resolved & Resolver Timing graphs are showing some values 13. Also Queries/Mutations Resolved graph in Mobile Services dashboard should be updated and showing total number of queries/mutations resolved in time |
|