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.
Setting up the Graphite-web database
From the course: Graphite and Grafana: Visualizing Application Performance
Setting up the Graphite-web database
- [Narrator] After installing Postgres we will need to log in as the Postgres user created during instillation and create a Graphite user and Graphite database. First, we'll log into the Postgres shell. You do that by typing, "sudo -u postgres psql". Then, we'll create a Graphite user and secure it with a super secure password. So, we type, "CREATE USER graphite WITH PASSWORD 'password'" Note, please do not use the password "password" in your production set up. After creating the user, create a Graphite database and assign ownership of said database to the Graphite user. So, to create the database we'll type, "CREATE DATABASE graphite WITH OWNER graphite" and hit enter, and then once the database has been created, we can exit the Postgres shell and configure Graphite to use Postgres. So, to exit type, "\q" and we're back in the bash shell. And then we'll open up the local settings file for Graphite web, located at etc/graphite/local_settings. So, we'll type, "sudo vim…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Graphite basics and components3m 41s
-
(Locked)
Installing Graphite2m 31s
-
(Locked)
Setting up the Graphite-web database4m 29s
-
(Locked)
Carbon overview3m 59s
-
(Locked)
Configuring carbon4m 17s
-
(Locked)
Configuring Graphite-web2m 22s
-
(Locked)
Whisper files5m 5s
-
(Locked)
Verifying the system2m 2s
-
(Locked)
The Graphite UI2m 38s
-
(Locked)
Graphite scaling and performance5m 23s
-
(Locked)
-
-
-