From the course: Graphite and Grafana: Visualizing Application Performance

Unlock the full course today

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

Adding data sources

Adding data sources

From the course: Graphite and Grafana: Visualizing Application Performance

Start my 1-month free trial

Adding data sources

- [Instructor] In order to visualize metrics Grafana will need to get data from a storage back end which it refers to as a data source. In this video, we'll cover how to add our first data source. To best show how to add a data source to Grafana we'll use Docker Compose to start up two Docker containers one running Graphite in StatsD, the other running Grafana and ensure that the two can communicate with one another. To start the containers, use the Docker Compose file provided by the exercise files in this course. Copy and paste the contents of this file to create a docker-compose.yml file. Or move the file into the current working directory. This yml file tells Docker to start our two containers and network them together. It also specifies the use of an external data volume which Grafana will use. So let's create that now by running the command: docker volume create, and we'll give it a --name of grafana-volume, then we can hit enter. Next we can start both containers by running the…

Contents