所需积分/C币:9 2018-12-04 16:54:39 6.49MB PDF

Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud. Since its inception in 2012, many companies and organizations have adopted Prometheus, and the project has a very active developer and user community. It is now a standalone open source project and m
Prometheus: Up Running by brian brazil Copyright C 2018 Robust Perception Ltd. 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 useOnlineeditionsarealsoavailableformosttitles(http:/ For more information, contact our corporate/institutional sales department: 800 998-9938 or corporate oreilly. com Editor: Virginia wilson Indexer: Ellen Troutman-Zaig Production editor: nicholas adams Interior Designer: David futato Copyeditor: Christina Edwards Cover Designer: Karen Montgomery Proofreader: Sonia saruba Illustrator: Rebecca demarest Tech Reviewers: Julius volz, Carl Bergquist, Andrew McMillan, and Greg Stark a July 2018: First Edition Revision History for the First Edition 2018-07-06: First release See details The o'Reilly logo is a registered trademark of o'Reilly Media, InC. Prometheus Up running, the cover image, and related trade dress are trademarks of O'Reilly media, Inc While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights 978-1-492-03414-8 ILSI Pr reface This book describes in detail how to use the prometheus monitoring system to monitor, graph, and alert on the performance of your applications and infrastructure. This book is intended for application developers, system administrators, and everyone in between Expanding the Known When it comes to monitoring, knowing that the systems you care about are turned on is important, but that's not where the real value is. The big wins are in understanding the performance of your systems by performance i don't only mean the response time of and cpu used by each request, but the broader meaning of performance. How many requests to the database are required for each customer order that is processed? Is it time to purchase higher throughput networking equipment? How many machines are your cache misses costing? Are enough of your users interacting with a complex feature in order to justify its continued existence? These are the sort of questions that a metrics-based monitoring system can help you answer, and beyond that help you dig into why the answer is what it is. I see monitoring as getting insight from throughout your system, from high-level overviews down to the nitty-gritty details that are useful for debugging. A full set of monitoring tools for debugging and analysis includes not only metrics, but also logS, traces, and profiling but metrics should be your first port of call when you want to answer systems-level questions Prometheus encourages you to have instrumentation liberally spread across your systems, from applications all the way down to the bare metal With instrumentation you can observe how all your subsystems and components are interacting, and convert unknowns into knowns Conventions Used in This book The following typographical conventions are used in this book: Italic Indicates new terms. URLs. email addresses filenames and file extensions Constant width Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords Constant width bold Shows commands or other text that should be typed literally by the user Constant width italic Shows text that should be replaced with user-supplied values or by values determined by context TIP This element signifies a tip or suggestion NOTE This element signifies a general note WARNING This element indicates a warning or caution Using Code Examples Supplemental material(code examples, configuration files, etc. is available for downloadathttps:/ This book is here to help you get your job done. In general, if example code is offered with this book, you may use it in your programs and documentation. You do not need to contact us for permission unless you're reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a cd ROM of examples from O'Reilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product's documentation does require permission We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and isBN. For example: " Prometheus: Up running by Brian brazil(o'reilly ) Copyright 2018 Robust Perception Ltd, 978-1-492 03414-8. If you feel your use of code examples falls outside fair use or the permission givenabovefeelfreetocontactusatpermissions( O'Reilly Safari NOTE Safari(formerly Safari Books Online) is a membership-based training and reference platform for enterprise, government, educators, and individuals Members have access to thousands of books, training videos, learning paths interactive tutorials, and curated playlists from over 250 publishers, including O'Reilly media, Harvard Business review Prentice Hall Professional, Addison Wesley Professional, Microsoft Press, Sams, Que, Peachpit Press, Adobe, Focal Press, Cisco PreSS, John Wiley Sons, Syngress, Morgan Kaufmann, IBM Redbooks, Packt, Adobe Press, FTPress, Apress, Manning, New Riders, McGraw-Hill, Jones Bartlett, and Course Technology, among others Formoreinformationpleasevisit How to contact us Please address comments and questions concerning this book to the publisher O Reilly media, Inc 1005 Gravenstein highway north Sebastopol, CA95472 a 800-998-9938 (in the United States or Canada) 707-829-0515 (international or local) 707-829-0104(fax) We have a web page for this book, where we list errata, examples, and any additionalinformationYoucanaccessthispageathttp:/ and-running To comment or ask technical questions about this book, send email to For more information about our books courses conferences and news see our websiteat FindusonFacebook FollowusonTwitter WatchusonYoutube:http://www.youtubecom/oreillymedia

试读 127P Prometheus

关注 私信 TA的资源

    Prometheus 9积分/C币 立即下载


    9积分/C币 立即下载 >