Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Microservices Deployment Cookbook

You're reading from   Microservices Deployment Cookbook Deploy and manage scalable microservices

Arrow left icon
Product type Paperback
Published in Jan 2017
Publisher Packt
ISBN-13 9781786469434
Length 378 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Vikram Murugesan Vikram Murugesan
Author Profile Icon Vikram Murugesan
Vikram Murugesan
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Microservices Deployment Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Building Microservices with Java 2. Containerizing Microservices with Docker FREE CHAPTER 3. Deploying Microservices on Mesos 4. Deploying Microservices on Kubernetes 5. Service Discovery and Load Balancing Microservices 6. Monitoring Microservices 7. Building Asynchronous Streaming Systems with Kafka and Spark 8. More Clustering Frameworks - DC/OS, Docker Swarm, and YARN

Configuring Grafana dashboards to view metrics


So far, we've learned how to use Graphite and Grafana. In this recipe, we will learn how to create dashboards and panels using Grafana. Ideally, Grafana dashboards will be displayed on a big screen in a space where developers (or concerned people) can see them so that any odd behavior in the graphs will be clearly visible to the developers.

Getting ready

In this recipe, we will be utilizing two metrics from the geolocation JVM and the two metrics that we created using Codahale. These four metrics will be plotted on graphs in the dashboard.

  1. First, make sure Graphite and Grafana are up and running. If they're not, start them using the docker-compose YAML file.

  2. Next, make sure your geolocation application is up and running. If it's not, start it from your STS IDE as a Spring Boot application.

How to do it...

  1. In order to generate some metrics, execute the following curl commands to create two geolocations:

    curl -H "Content-Type: application/json" -X POST...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime
Visually different images