From the course: Graphite and Grafana: Visualizing Application Performance

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Configuring Graphite-web

Configuring Graphite-web

- [Instructor] There are multiple ways to expose Graphite Web, Graphite's front end web app. In our setup, we will use the Apache web server to forward requests to Graphite Web. We will start this process by installing Apache and the wsgi plugin for Apache. So we'll do that by typing sudo apt-get dash y install apache2 and libapache2-mod-wsgi and hit Enter. And enter our password. With that installed, we are ready to add a Graphite-specific configuration file for Graphite Web, which will tell Apache how to route traffic to Graphite Web. To do this, we can copy the configuration file provided by the installation of Graphite Web. So we'll clear the screen and we can type sudo cp /usr/share/graphite-web/apache2-graphite.conf. This again is the file that's provided during the installation. And we can copy it into /etc/apache2/sites-available/. With this file in place, we can disable Apache's default virtual host file and enable the Graphite host file. First we'll disable the default file.…

Contents