Graphite Render API

Contents

With the Graphite Render API, you can:

  • View raw metric data outside of your primary dashboards.

  • Apply functions to your metric data.

  • Search for data within a specific or relative time frame.

  • Retrieve the data in different display formats.

  • Use Graphite Access Keys to integrate metric data into external tools or services.

Render endpoint

GET /YOUR-UID/ACCESS-KEY/graphite/render?target=

To integrate Hosted Graphite data externally, Create an Access Key to authorize render requests. Copy the key URL and add /render?target=

Path Parameters

The accepted units of time are:

Using the sample metric foo.bar, below are some example queries and outputs:

https://www.hostedgraphite.com/YOUR-UID/ACCESS-KEY/graphite/render?target=foo.bar&from=now-30min
https://www.hostedgraphite.com/YOUR-UID/ACCESS-KEY/graphite/render?target=alias(foo.bar,"Uptime")&from=now-30min
https://www.hostedgraphite.com/YOUR-UID/ACCESS-KEY/graphite/render?target=foo.bar&from=now-30min&format=json

Curl Example:

curl -X GET "https://www.hostedgraphite.com/YOUR-UID/ACCESS-KEY/graphite/render?target=foo.bar&from=now-30min&format=json"

For more information about building queries and customizing outputs, visit the Graphite Render Docs.

Last updated