Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brutasse/graphite-api
Graphite-web, without the interface. Just the rendering HTTP API.
https://github.com/brutasse/graphite-api
Last synced: 3 months ago
JSON representation
Graphite-web, without the interface. Just the rendering HTTP API.
- Host: GitHub
- URL: https://github.com/brutasse/graphite-api
- Owner: brutasse
- License: apache-2.0
- Created: 2014-03-05T23:44:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-16T06:48:52.000Z (9 months ago)
- Last Synced: 2024-07-21T21:14:29.470Z (4 months ago)
- Language: Python
- Homepage: https://graphite-api.readthedocs.io
- Size: 744 KB
- Stars: 493
- Watchers: 33
- Forks: 133
- Open Issues: 47
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
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=masterGraphite-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/``
* ``/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/