Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Grafana – Setup a Sample Application “Grafana News”

This tutorial uses a sample application to demonstrate some of the features in Grafana. To complete the exercises in this tutorial, you need to download the files to your local machine.

In this step, you’ll set up the sample application, as well as supporting services, such as Prometheus and Loki.

  1. Clone the github.com/grafana/tutorial-environment repository.

git clone https://github.com/grafana/tutorial-environment.git

2. Change to the directory where you cloned this repository:


cd tutorial-environment

3. Make sure Docker is running:


docker ps

4. No errors means it is running. If you get an error, then start Docker and then run the command again.

Start the sample application:


docker-compose up -d

The first time you run docker-compose up -d, Docker downloads all the necessary resources for the tutorial. This might take a few minutes, depending on your internet connection.

Ensure all services are up-and-running:


docker-compose ps

In the State column, it should say Up for all services.

Browse to the sample application on localhost:8081.

About Grafana News Application

The sample application, Grafana News, lets you post links and vote for the ones you like.

  • To add a link:
  • In Title, enter Example.
  • In URL, enter https://example.com.
  • Click Submit to add the link.

The link appears in the list under the Grafana News heading.

To vote for a link, click the triangle icon next to the name of the link.

Reference

  • https://grafana.com/tutorials/grafana-fundamentals/
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x