Connecting Grafana to Your First Data Source

Welcome to Grafana

Welcome to your first lesson in Grafana! If you've ever wondered how tech companies monitor their servers, track website performance, or keep an eye on system health in real time, the answer often involves tools like Grafana. Grafana is a powerful visualization platform that turns raw data into beautiful, easy-to-understand dashboards. Think of it as the bridge between your data and your eyes — it takes numbers stored in databases and transforms them into charts, graphs, and alerts that make sense at a glance.

More About Grafana

In this lesson, you're going to take your first steps with Grafana by learning how to access it and connect it to a data source. Without a data source, Grafana is like a car without fuel — it needs data to visualize. We'll be using PostgreSQL, a popular database system, which contains real infrastructure metrics like CPU usage, memory consumption, disk space, and network activity. These are the same types of metrics that engineers monitor in production systems every day.

By the end of this lesson, you'll understand how to sign in to Grafana and connect it to a PostgreSQL data source. This foundation is crucial because everything you do in Grafana afterward — creating dashboards, building charts, setting up alerts — all starts with having access to the system and connecting to your data.

Installing Grafana

Before you can use Grafana, it needs to be installed and running on a system. On CodeSignal, Grafana is already installed and running for you — you can access it directly through your browser without any setup. However, if you're interested in installing Grafana on your own machine in the future, you can find comprehensive installation guides for various operating systems (Windows, macOS, Linux) in the official Grafana documentation. The documentation covers different installation methods including standalone binaries, Docker containers, and package managers.

For this course, you don't need to worry about installation — just focus on learning how to use Grafana effectively!

Opening Grafana (Home Page)

When you first open Grafana, you'll see an interface that looks like this:

The Grafana home page - your starting point for data visualization

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal