From the course: Graphite and Grafana: Visualizing Application Performance

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The Graphite render endpoint

The Graphite render endpoint

From the course: Graphite and Grafana: Visualizing Application Performance

Start my 1-month free trial

The Graphite render endpoint

- [Instructor] In this video, we'll learn about the Graphite Render API which Grafana uses to obtain data from Graphite. This API is served by Graphite-web, the front-end component of Graphite and is located at the /render path of the Django application served by Graphite-web. This endpoint can be used for both rendering graphs, as well as, returning raw metric data and accepts various arguments via query string parameters. These parameters are separated by ampersands and take the format name=value. To get started with Graphite's Render API, let's start up our Graphite Docker container by running the following command, docker run -d bind port 80 bind ports 2003 and 2004, as well as, port 8125 on UDP for StatsD and we will run the graphite app/graphite-statsd container. Hit enter. Note, that if you are currently running another container from this course, you will need to stop it before starting up this new container. Once our container has started up successfully, we can test that the…

Contents