Monitoring With Graphite: Tracking Dynamic Host And Application Metrics At Scale

Preparing link to download Please wait... Download

E-Book Overview

Why is Graphite one of the most popular tools for monitoring and graphing the performance of computer systems? This practical book helps you use this open source tool to track the operational data you need to monitor your systems and track application-level metrics for profiling your services. You'll learn how to correlate all of that data with business intelligence to help you make informed decisions about your IT strategies. This book is ideal for system administrators and engineers who have familiarity with managing servers or development environments from the command line.

E-Book Content

www.it-ebooks.info Monitoring with Graphite Jason Dixon www.it-ebooks.info Monitoring with Graphite by Jason Dixon Copyright © 2010 Jason Dixon. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/ institutional sales department: 800-998-9938 or [email protected] Editor: Brian Anderson Production Editor: FIX ME! Copyeditor: FIX ME! Proofreader: FIX ME! January -4712: Indexer: FIX ME! Cover Designer: Karen Montgomery Interior Designer: David Futato Illustrator: Rebecca Demarest First Edition Revision History for the First Edition: 2014-12-16: Early release revision 1 2015-02-09: Early release revision 2 2015-03-27: Early release revision 3 2015-05-27: Early release revision 4 See http://oreilly.com/catalog/errata.csp?isbn=0636920035794 for release details. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. !!FILL THIS IN!! and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. ISBN: 063-6-920-03579-4 [?] www.it-ebooks.info Table of Contents Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix 1. What is Graphite?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 What is time series data? Time-Series Databases Storage Considerations Prioritizing Operations What is the history of Graphite? What makes Graphite unique? Simple Metrics Format Graphing API Rapid Prototyping Rich Statistical Library Chained Functions Case Studies: Who uses Graphite in production? Booking.com GitHub Etsy Electronic Arts Why should I use Graphite? 2 3 3 4 5 6 6 7 7 8 9 11 11 12 12 13 13 2. Monitoring Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Three Tenets of Monitoring Fault Detection Alerting Capacity Planning Rethinking the Poll/Pull Model Pull Model Push Model 15 16 16 17 18 19 20 iii www.it-ebooks.info Where does Graphite Fit into the Picture? Composable Monitoring Systems Telemetry Metrics Router