graphite-api

Graphite-web, without the interface. Just the rendering HTTP API.

  • 所有者: brutasse/graphite-api
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Graphite-API

.. image:: https://travis-ci.org/brutasse/graphite-api.svg?branch=master
:alt: Build Status
:target: https://travis-ci.org/brutasse/graphite-api

.. image:: https://img.shields.io/coveralls/brutasse/graphite-api/master.svg
:alt: Coverage Status
:target: https://coveralls.io/r/brutasse/graphite-api?branch=master

Graphite-web, without the interface. Just the rendering HTTP API.

This is a minimalistic API server that replicates the behavior of
Graphite-web. I removed everything I could and simplified as much code as
possible while keeping the basic functionality.

Implemented API calls:

  • /metrics/find
  • /metrics/expand
  • /render

No-ops:

  • /dashboard/find
  • /dashboard/load/<name>
  • /events/get_data

Difference from graphite-web

  • Stateless. No need for a database.
  • No Pickle rendering.
  • No remote rendering.
  • JSON data in request bodies is supported, additionally to form data and
    querystring parameters.
  • Ceres integration will be as an external backend.
  • Compatibility with python 2 and 3.
  • Easy to install and configure.

Goals

  • Solid codebase. Strict flake8 compatibility, good test coverage.
  • Ease of installation/use/configuration.
  • Compatibility with the original Graphite-web API and 3rd-party dashboards.

Non-goals

  • Support for very old Python versions (Python 2.6 is still supported but
    maybe not for long).
  • Built-in support for every metric storage system in the world. Whisper is
    included by default, other storages are added via 3rd-party backends.

Documentation

On readthedocs.org_ or in the docs/ directory.

.. _On readthedocs.org: https://graphite-api.readthedocs.io/en/latest/

Hacking

Tox_ is used to run the tests for all supported environments. To get started
from a fresh clone of the repository:

.. code-block:: bash

pip install tox
tox

.. _Tox: https://testrun.org/tox/

主要指标

概览
名称与所有者brutasse/graphite-api
主编程语言Python
编程语言Shell (语言数: 2)
平台
许可证Apache License 2.0
所有者活动
创建于2014-03-05 23:44:30
推送于2024-02-16 06:48:52
最后一次提交2017-10-25 09:30:59
发布数6
最新版本名称1.1.3 (发布于 )
第一版名称1.0.0 (发布于 )
用户参与
星数491
关注者数32
派生数131
提交数429
已启用问题?
问题数132
打开的问题数34
拉请求数60
打开的拉请求数14
关闭的拉请求数46
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?