Discover the change management practices that are ripe for optimization
DevOps
Change has become the most important part of modern digital product cr ...
Read MoreThis post is from the XebiaLabs blog and has not been updated since the original publish date.
Today's DevOps teams like to have dashboards to monitor their processes. Dashboards provide teams a view into the state of the environment that can be very useful. Today lets look at how we can use the XL Deploy and XL Release REST APIs to make an interesting dashboard with dashing.
Dashing is a Ruby application. If you already have Ruby installed on your system it is quite easy to get started. To install Dashing do the following:$ gem install dashing
$ gem install rest-client
$ gem install xml-object
$ git clone https://github.com/zvercodebender/xl-dashboard.git
xl-dashboard
and bundle gems$ bundle
$ dashing start
XlrServer.rb
and XldServer.rb
files. Following the directions above should produce a dashboard similar to the one bellow:data-view
tag defines the widget to be used in the dash board. You can find out more about dashing widgets at the dashing.io website. Once we have defined a dashboard we will need to create some jobs to collect information for XL Deploy and XL Release to be displayed in the dashboard. Fortunately, it is easy to interact with XL Deploy and XL Release's REST API in Ruby. Our job to collect the XL Deploy task list data is as follows:RestClient
object to get an XML object from the XL Deploy REST API. Then we can easily parse the XML object and create a HASH with the table data. Once the HASH map is created it can be sent to our dashboard with the send_event()
method. The first parameter tells send_event()
which widget in our dashboard will render this data.
The XL Release table is populated in a similar way, but this time instead of using an XML object we have a JSON object. This time note that the send_event() sends the data to the xlrdata widget in our dashboard.ON-DEMAND WEBINAR
Measure Your DevOps Success: Using Goal-based KPIs to Drive Results and Demonstrate ROI
Is your organization implementing DevOps but struggling to fully understand the impact of your initiatives? Are you making decisions “in the dark,” based on incomplete and subjective data… or even on feelings? How do you know which processes work the best? And how do you show the ROI of all your hard work? Come see how the latest advances in DevOps innovation will help you meet your DevOps goals faster!