KBEC-00440 - How to display Deployments by Month in DevOps Insight Dashboard?

Article ID:360039084371
1 minute readKnowledge base

To show the number of deployments grouped by month, we will need a deployment report as a pre-requisite. The report should contain the statistics we are looking for, e.g. deployments by month.

You can use the built-in report titled DeploymentsFrequency as a basis and change the interval and format to the following:
"interval": "month",

"format": "yyyy-MMM",

The report will look like this:

![Screen_Shot_2020-01-22at_9.41.29_AM.png](KBEC-00440-_How_to_display_Deployments_by_Month_in_DevOps_Insight_Dashboard/Screen_Shot_2020-01-22_at_9.41.29_AM.png)

With the report ready to use, we can start creating a gadget:

  1. Go to DevOps Insight Dashboard

  2. Go to Dashboard Editor

  3. Create a new gadget and provide a name, e.g. deployment by month.

  4. Click "Define", fill out the widget name and title.

  5. Under the "Definition" tab, choose the report mentioned above.

  6. Under Visualization, choose Vertical Bar Chart or Horizontal Bar Chart.

Example chart settings:

X-Axis: Deployment_date (as yyyy-MMM)

Display X-Axis as: String

X-Axis Lable: Deployment_date (as yyyy-MMM)

Y-Axis: Deployment_date Count

Display Y-Axis as: Number

![Screen_Shot_2020-01-03at_7.37.30_PM.png](KBEC-00440-_How_to_display_Deployments_by_Month_in_DevOps_Insight_Dashboard/Screen_Shot_2020-01-03_at_7.37.30_PM.png)

Click OK and your gadget is ready!

![Screen_Shot_2020-01-22at_10.19.50_AM.png](KBEC-00440-_How_to_display_Deployments_by_Month_in_DevOps_Insight_Dashboard/Screen_Shot_2020-01-22_at_10.19.50_AM.png)

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.