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

Uploaded Python 3

File details

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

File metadata

  • Download URL: graphite_render-1.1.8.tar.gz
  • Upload date:
  • Size: 115.2 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.8.tar.gz
Algorithm Hash digest
SHA256 fe8ec47d0af3ad3f10b77f1e27aaad3129ba800814066ea65ab4bc995bd05a9b
MD5 7cbdfd5df659f53636bb0f2650cbc133
BLAKE2b-256 9ad520ff4f78d707f67ab89d9b45cc5ff41bfb11ad0d94bad97b6fe10986fa44

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for graphite_render-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a21d7c08a52a9ba766897ad4e4763cce2296b5b0f6b55ecff8861d5f98300ae3
MD5 1e980748df44a4f5feddd9de5eef5ecc
BLAKE2b-256 b070061683fc9fa95f07c4296dd0d5a31df834cbb1c1fbb6da4f8a99b871f2f6

See more details on using hashes here.

Provenance

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