Graphite 介紹

Overviewjavascript

概述java

What Graphite is and is not ?web

Graphite能作什麼和不能作什麼?shell

Graphite does two things:數據庫

Graphite 作兩件事情:後端

  1. Store numberic time-series data服務器

    存儲 numberic time-series 數據架構

  2. Render graphs of this data on demandapp

使用這些數據按需求渲染圖表框架

What Graphite does not do is collect data for you,

Graphite 不能爲你收集數據,

however there are some tools out there that know how to send data to graphite.

然而這裏有不少工具,使用它們發送數據給graphite.

Even though if often requires a little code , sending data to Graphite is very simple.

雖然這須要一點代碼, 可是發送數據給Graphithe很是簡單。


About the project

關於這個項目

Graphite is an enterprise-scale monitoring tool that runs well on cheap hardware.

Graphite 是一個企業級的監控工具, 可以在廉價的硬件上很好的運行。

it was originally designed and written by Chris Davis at Orbitz in 2006 as side project that ultimately grew to ba a foundational monitoring tool.

它最初是由chris Davis 設計和編寫 在 2016 Orbitz 作爲一個項目, 最終演變爲一個基本的監控工具。

——————————————————————————————————————————————— The architecture in a nutshell

基本構架

Graphite consists of 3 software components:

Graphite 有3個軟件組成:

  1. carbon - a Twisted daemon that listens for time-series data

carbon - a Twisted 進程 用於監聽 time-series 數據

  1. whisper - a simple database library for storing time-series data(similar in design to RRD)

whisper - 一個簡單的數據庫用於存儲 time-series 數據(設計相似於RRD)

  1. graphite webapp - A Django webapp that renders graphs on-demand using Cairo

graphite webapp - 一個 Django webapp 根據須要使用Cairo 渲染圖表

Feeding in your data is pretty easy, typically most of the efforts is in collecting the data to begin with.

喂數據是至關的簡單。 起初的努力就是收集數據 As you send datapoints to Carbon , they become immediately available for graphing in the webapp.

當你發送一些數據給Carbon。 它們馬上變爲有用的圖表在webapp裏面。

The webapp offers several ways to create and display graphs including a simple URL API for rendering that makes it easy to embed graphs in other webpages.

webapp提供了幾種方法去產生和顯示圖標,包括一個簡單的URL API 用於渲染 ,它使得在其餘web頁面中嵌入圖標很是的簡單。


FAQ

常見問題

What is Graphite?

Graphite 是什麼? Graphite is a highly scaleable real-time graphing system.

Graphite 是一個高度可伸縮的實時圖表系統。

As a user, you write an application that collects numeric time-series data that you are interested in graphing,

做爲一個使用者, 你編寫一個應用用於收集 數值型 time-series 數據,而你對這些數據的圖表感興趣, and send it to Graphite’s processing backend, carbon,

發送這些數據給Graphite的後端處理, carbon which stores the data in Graphite’s specialized database.

它存儲數據在Graphite專門的數據庫中。

The data can then be visualized through graphite’s web interfaces.

而後,數據被可視化,經過調用graphite的web 接口。


Who should use Graphite?

誰應該使用Graphite?

Anybody who would want to track values of anything over time.

任何人, 它可能想要追蹤任何事情隨着的值隨着時間的變化。

If you have a number that could potentially change over time, and you might want to represent the value over time on a graph,

若是你有一個值,它可能經過時間變化,你想在圖表上表示這個值隨着時間的變化。

then Graphite can probably meet your needs.

而後 Graphite 能夠知足你的需求。

Specifically, Graphite is designed to handle numeric time-series data.

特別地, Graphite被設計於去處理 numeric times-series 數據。

For example, Graphite would be good at graphing stock prices because they are numbers that change over time.

例如, Graphite 擅長繪製股票價格, 由於它們隨着時間而變化。

Whether it’s a few data points, or dozens of performance metrics from thousands of servers, then Graphite is for you.

不管是幾個數據點,仍是幾千個服務器的幾十個性能指標。

As a bonus, you don’t necessarily know the names of those things in advance (who wants to maintain such huge configuration?);

you simply send a metric name, a timestamp, and a value, and Graphite takes care of the rest! 你簡單地發送一個指標名, 一個時間戳,一個值, 其餘部分由Graphite關心。


What is Graphite written in?

Graphite用什麼寫的?

Python2. The Graphite webapp is built on the Django web framework and uses the ExtJS javascript GUI toolkit.

Python2. Graphite 的webap用 Django web 框架構建 和使用 ExtJs Javascript GUI 工具箱。

The graph rendering is done using the Cairo graphics library.

圖表的渲染使用的是Cairo圖標庫。

The backend and database are written in pure Python.

後臺和數據庫使用純Python編寫. ———————————————————————————————————————————————

Is there a diagram of Graphite’s architecture?

是否有Graphite的架構圖?

There sure is! Here it is:

確定有,這裏是:

輸入圖片說明

相關文章
相關標籤/搜索