Skip to Content
Graphite监控
book

Graphite监控

by Jason Dixon
October 2020
Intermediate to advanced
261 pages
5h 32m
Chinese
Publishing House of Electronics Industry
Content preview from Graphite监控
Graphite Web
41
动和运行
Graphite
,集中精力开始学习,并对数据进行一些有趣的操作。
尽管如此,我们仍然会快速浏览一下
Graphite Web
可以使用的各种组件。有些用户会优
先选用
Gunicorn
Python WSGI
服务器)而不是使用
mod_wsgi
,或者使用
MySQL
而不
PostgreSQL
,所以在做出选择之前,最好先了解它们的优缺点。有很多组件可供选择,
我不打算引导你完成不同组件组合的安装过程,但我会给你一些参考,以便你根据自身
环境做出最佳选择。
Django
框架
Graphite Web
应用程序基于
Django
框架构建。
Django
提供了主流
Web
应用程序共有的
功能,如数据库连接、用户账户、管理工具等。除非你选择为
Graphite
的开发做贡献,
否则除了安装和初始设置之外,不需要了解
Django
的核心。
Django
有两个直接依赖项,它们也是任何现代
Web
应用程序的标准配置 :一个是处理
请求和返回响应的
Web
服务器,一个是存储配置和事件数据的
SQL
数据库。
Web
服务器
Django
项目推荐使用
Web
服务器网关接口(
WSGI
)作为应用程序和
Web
服务器之间
的中间件服务。使用
WSGI
部署
Graphite
有几种流行的选择
mod_wsgi
Apache
Gunicorn
Nginx
或者
uWSGI
Nginx
除非你坚决反对使用
Apache
运行
Graphite
,否则我推荐使用集成
mod_wsgi
模块的
Apache
。它运行良好,具有非常好的日志记录功能,并且有丰富的模块可供选择来实现 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

写给系统管理员的Python脚本编程指南

写给系统管理员的Python脚本编程指南

Posts & Telecom Press, Ganesh Sanjiv Naik
弱监督学习实用指南

弱监督学习实用指南

Wee Hyong Tok, Amit Bahree, Senja Filipi
精通機器學習

精通機器學習

Aurélien Géron

Publisher Resources

ISBN: 9787121395154