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.7.tar.gz (115.3 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.7-py3-none-any.whl (92.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: graphite_render-1.1.7.tar.gz
  • Upload date:
  • Size: 115.3 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.7.tar.gz
Algorithm Hash digest
SHA256 a00f92269d265e14733f3c3d8a8874c1d39b29f5dc5b67d975ba3d014f3bf816
MD5 93f081a7fdc2a8053cff69bdddf820be
BLAKE2b-256 00633493e431de7267b38aada1b7518bcdfa60e4ea1ca1bc779fd1c69c2cbfc9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for graphite_render-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cdffa3c78ee5143e6c19cd8f9247811b5191f0dabcf5d26c7837911e5e1aa2a6
MD5 6119fd8f5affc59abde2fd9860bd5955
BLAKE2b-256 91645ad8f5956f1b792fc3342ff52b6828ad15f3ac7d1d70ac9a79a05e03f2c9

See more details on using hashes here.

Provenance

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