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 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. Go back go Grafana and check that Queries/Mutations Resolved & Resolver Timing graphs are showing some values 12. Also Queries/Mutations Resolved graph in Mobile Services dashboard should be updated and showing total number of queries/mutations resolved in time |
|