Skip to main content

based on graphite-api, which is based graphite-web, but maintained for python3.

Project description

Note: This is a maintained friendly fork of the upstream project at https://github.com/brutasse/graphite-api.

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 3.

  • Easy to install and configure.

Goals

  • Solid codebase. 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

  • 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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphite_render-1.1.6.tar.gz (113.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphite_render-1.1.6-py3-none-any.whl (91.9 kB view details)

Uploaded Python 3

File details

Details for the file graphite_render-1.1.6.tar.gz.

File metadata

  • Download URL: graphite_render-1.1.6.tar.gz
  • Upload date:
  • Size: 113.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for graphite_render-1.1.6.tar.gz
Algorithm Hash digest
SHA256 5b5baf4728c246f695187d98b60c3974d0c0f892187a19ffaf18192de295294c
MD5 57b49fd4ef93b58c2205ae84b778cd30
BLAKE2b-256 a4f9657a39d91d3c30d1e1f03eb3e0bf9ded3c73f27a6ab0443c71db948d3a2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphite_render-1.1.6.tar.gz:

Publisher: release.yml on csett86/graphite-render

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file graphite_render-1.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for graphite_render-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e5ec27c290d46e080d46396a1d3f0cad1e7af4185b67d5286f13c53f89127490
MD5 19370dfd59104a4b7cb43383cc304976
BLAKE2b-256 e820c363dfa5b50ae25455586c8cadafc828e3c1d345d38e382a5774176bd1d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphite_render-1.1.6-py3-none-any.whl:

Publisher: release.yml on csett86/graphite-render

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page