List of Listings

 

Chapter 3. Trends and data from project-tracking systems

Listing 3.1. Excerpts from the raw data in a typical API response

Listing 3.2. Example labels JSON block in a JIRA API response

Listing 3.3. Example comments JSON block from an API call with hashtags in the text

Chapter 4. Trends and data from source control

Listing 4.1. Abridged example response from the GitHub API

Listing 4.2. Two identical conditional statements

Chapter 5. Trends and data from CI and deployment servers

Listing 5.1. Partial response from the Jenkins dashboard for Apache’s build server

Listing 5.2. Jenkins response from a specific build

Chapter 6. Data from your production systems

Listing 6.1. Using StatsD

Chapter 7. Working with the data you’re collecting: the sum of the parts

Listing 7.1. Algorithm for checking estimate health

Listing 7.2. The algorithm as Groovy code

Chapter 9. Publishing metrics

Listing 9.1. Using StatsD to add business-specific metrics to the code

Appendix A. DIY analytics using ELK

Listing A.1. Running Vagrant

Listing A.2. Checking data In MongoDB

Listing A.3. Setting up your config file

Listing A.4. Running the Grails app

Appendix B. Collecting data from source systems with Grails

Listing B.1. The JIRA domain object

Listing B.2. Excerpts from the raw data in a typical API response

Listing B.3. Collecting data from JIRA

Listing B.4. Basic job to run our services