tessera

A dashboard front-end for graphite.

Github星跟蹤圖

Tessera

Tessera is a front-end interface for the Graphite metrics system, which provides a large selection of presentations, layout, and interactivity options for building dashboards.

The biggest key differences between Tessera and other frontends are the separation of queries from presentations, and the ability to apply arbitrary transformations to the presentations & queries, allowing for a large degree of interactivity. Tessera is initially focused on information presentation - it does not NOT address the areas of metric discovery or query composition (although it may in the future).

Overview

Tessera consists of a small python webserver written with Flask with a SQL backing store. The server manages storing and searching for dashboards, managing tags for organization, serving the basic UI assets, and providing a ReST API for the front-end to use.

Dashboards are big lumps of JSON data describing the queries, presentations, and layout, wrapped in a small shell of SQL metadata. Most of the heavy lifting is done by the javascript front-end, which is responsible for all rendering, data fetching from graphite, and editing of dashboards.

Quick Start

From Docker

If you're familiar with docker and already have a Graphite instance running, you can boot up an instance of tessera with the demo dashboards preloaded and easily point it at your existing Graphite installation using the aalpern/tessera-simple image. If you don't have a Graphite installation handy, a Docker image like nickstenning/graphite can get that up and running quickly.

docker run -P -e GRAPHITE_URL=http://graphite.host -it aalpern/tessera-simple

From PyPi

Tessera can be installed easily from
PyPi with pip or
easy_install. This method of installation is only recommended for
casual use.

pip install tessera

After installation, create a config.py script for your local
settings.

Example config.py:

GRAPHITE_URL="http://graphite.example.com"
SECRET_KEY="adf71812-9d57-88d3-dfe8-1e9860d2b7ab"

Initialize the database:

TESSERA_CONFIG=/path/to/config.py tessera-init

Then launch the service:

TESSERA_CONFIG=/path/to/config.py tessera

The service will be available on
localhost:5000 by default, with the demo
dashoards loaded.

From Source

The TL;DR version:

./script/setup
./script/server &
cd tessera-server
inv json.import '../demo/*'

Documentation

Documentation is hosted on GitHub Pages at
tessera-metrics.github.io/tessera/docs.

  • Getting Started for getting started and running from source and importing the demo dashboards.
  • Tutorial for creating the most basic possible
    dashboard.
  • API endpoints and data format for accessing Tessera via the HTTP REST API
  • Extending Tessera, for adding new dashboard
    items, transformations, and actions.

Some additional writeup of why Tessera exists can found on the
introductory blog post that was originally posted on Urban Airship's
company blog -
Introducing Tessera, a Graphite Frontend.

screenshot

Copyright © 2014, Urban Airship and Contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Third-party software libraries included with this project are
distributed under their respective licenses.

主要指標

概覽
名稱與所有者tessera-metrics/tessera
主編程語言TypeScript
編程語言JavaScript (語言數: 7)
平台
許可證Apache License 2.0
所有者活动
創建於2014-03-31 02:11:17
推送於2021-05-06 19:03:36
最后一次提交2019-08-25 09:46:49
發布數15
最新版本名稱v0.10 (發布於 )
第一版名稱v0.3.0 (發布於 )
用户参与
星數1.2k
關注者數106
派生數81
提交數2.4k
已啟用問題?
問題數223
打開的問題數39
拉請求數322
打開的拉請求數4
關閉的拉請求數15
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?