DevOps – Stage 3: Do you know what metrics to collect?
24/03/2020 3:35 PM by
Now that your team is spending less time deploying the application, you’ve got more time to improve other aspects of the application, but first you need to know what to improve.
Here are a few easy things to gather metrics on:
Application Logging (Exceptions)
See how many errors are being produced, aim to reduce this as the produce matures
But it's not only exceptions you should be looking at but also how your users are using the application, so you can see where you should invest your time
Application Insights - https://rules.ssw.com.au/why-you-want-to-use-application-insights
Application/Server performance – track how your code is running in production, that way you can tell if you need to provision more servers or increase hardware specs to keep up with demand
Figure: Application Insights gives you information about how things are running and whether there are detected abnormalities in the telemetry
Figure: Azure can render the Application Insights data on a nice dashboard so you can get a high level view of your application
Figure: App Center can let you monitor app install stats, usage and errors from phones just like an app running in Azure
Collecting stats about the application isn't enough, you also need to be able to measure the time spent in the processes used to develop and maintain the application. You should keep an eye on and measure:
- Sprint Velocity
- Time spent in testing
- Time spent deploying
- Time spent getting a new developer up to speed
- Time spent in Scrum ceremonies
- Time taken for a bug to be fixed and deployed to production
The last set of metrics you should be looking at revolves around the code and how maintainable it is. You can use tools like:
Do you feel this rule needs an update?