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.5.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.5-py3-none-any.whl (91.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: graphite_render-1.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 37f93ac4ca4f0375be8dfeebab53f201f3763a01f9473f6a05e9223c80ccd16d
MD5 6de7c40300f2ab3a347c345c7e91e8f1
BLAKE2b-256 0cc245bd3e2e50e60ad61f38ebc8209b60d03199fa1a403842e392ff42ffee20

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphite_render-1.1.5.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.5-py3-none-any.whl.

File metadata

File hashes

Hashes for graphite_render-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ec74d7860fa8a9d4fa5df535a9ea50d6a749b3adbb9657708865e9557a01b3c0
MD5 b4895821ae2faa21c4969f41a6e9fd99
BLAKE2b-256 52b2a85a71013056c4c94946f8e47a2d34e815ca25fad183127cbd3143c46f96

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphite_render-1.1.5-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