• Stars
    star
    493
  • Rank 89,306 (Top 2 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 10 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Graphite-API

Build Status Coverage Status

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.

Hacking

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

pip install tox
tox

More Repositories

1

django-password-reset

Class-based views for password reset
Python
278
star
2

django-ratelimit-backend

Rate-limit your login attempts at the authentication backend level
Python
168
star
3

django-push

PubSubHubbub support for Django
Python
93
star
4

django-rq-dashboard

A dashboard for managing RQ in the Django admin
Python
86
star
5

graphite-cyanite

A plugin for using graphite-web with the cassandra-based Cyanite storage backend.
Python
85
star
6

states

My Salt states
Scheme
68
star
7

django-le-social

External registration / authentication for Django
Python
52
star
8

induction

A simple web framework based on asyncio.
Python
26
star
9

asyncio-sse

Simple asyncio/aiohttp wrapper for Server-Sent Events.
Python
22
star
10

django-project-template

The project template I use for my Django sites
Python
21
star
11

rache

A scheduler backed by Redis with a very simple interface
Python
17
star
12

django-aggregator

A 'planet' app for your Django project. Powers http://django-fr.org/planete/
Python
16
star
13

django-cbv

Class Based Views backported from Django trunk
Python
15
star
14

movescount-sync

Fetch GPS tracks from movescount.com
Python
9
star
15

dotfiles

My dotfiles, now under version control
Python
7
star
16

rgb2ansi

Color strings for terminal ouput (ANSI 256 colors) using CSS-style `rgb` notation
Python
6
star
17

ppd

PPD: PGP Passwords via Dropbox
JavaScript
5
star
18

django-geoportail

Add the maps from the French Geographic Institute to Geodjango. Mirror from Bitbucket.
Python
4
star
19

requests-awsv2-auth

AWS v2 auth support for Python-Requests.
Python
3
star
20

geoportail

An accessible interface for geoportail.gouv.fr's web API
JavaScript
3
star
21

calf

A simple syslog-to-elasticsearch bridge with pluggable processing
Python
3
star
22

aiochat-demo

A quick introductory talk on Asyncio / Aiohttp, about building a chat app.
JavaScript
2
star
23

ch-digest

A variation of ClubHouse's "daily summay" emails
Clojure
1
star
24

python-push

PubSubHubbub library for Python
Python
1
star
25

env-cmd

A simple wrapper for executing virtualenv commands and passing them environment variables via a config file.
Python
1
star
26

tiles-proxy

Trivial node.js app for proxying map tiles on SSL via Heroku
JavaScript
1
star