RousselTMLEARNING

TP · Grafana: From Discovery to Expertise

Project 1: HTTP status codes

What you will learn in this TP
  • Start a dashboard
  • Add a dashlet
  • Retrieve the data
  • Convert a GitHub URL to RAW format
  • Retrieve data from a URL in Grafana with Infinity
  • Bar chart visualization
  • Display the data as a table
  • Transform the data
  • Convert fields
  • Order the fields
  • Bar chart visualization
  • Mappings
  • Regex

Introduction #

What you will learn in this section
  • Start a dashboard
  • Add a dashlet

This project aims to help you master real user monitoring (RUM) in Dynatrace.

Data source #

What you will learn in this section
  • Retrieve the data
  • Convert a GitHub URL to RAW format
  • Retrieve data from a URL in Grafana with Infinity
  • Bar chart visualization
  1. Converting the URL

    You must retrieve the data from the repository at: https://github.com/RousselTM/grafana-formation/blob/main/tp/data/response-code.json. To be usable in Grafana, it must be converted to RAW.

  2. Adding the URL

    You must retrieve the data from this URL in Grafana using a data source of type Infinity (JSON type).

  3. Changing the visualization

    Change the default visualization and set it to a table.

Transformations #

What you will learn in this section
  • Display the data as a table
  • Transform the data
  • Convert fields
  • Order the fields

To complete this lab, you must have fully completed 'Project 1'.

  1. Converting a field

    You must convert the 'status' field to a string.

  2. Sorting the values

    You must sort the content of the 'status' field in descending order.

Color management #

What you will learn in this section
  • Bar chart visualization
  • Mappings
  • Regex

For this section, we will work with colors.

  1. Changing the visualization

    Change the visualization to display it as a bar chart.

  2. Changing the coloring

    You must change the default coloring to a traffic-light scheme:
    • 200 to 299: Green
    • 300 to 399: Yellow
    • 400 to 499: Orange
    • 500 to 599: Red
    .

Difficulty level : ●●○○○ (2/5)

My progress

  • ⏱ Estimated time : ≈ 49 min

Sign in to track your progress and take notes. Sign in

💬 Ask a question

Course Glossary

Alerting

The process of notifying teams (via email, Slack, Teams) when a specific event, threshold breach, or anomaly is detected.

HTTP Code 200 (OK)

An HTTP status code indicating that the client's request was successfully processed by the server.

HTTP Code 403 (Forbidden)

An HTTP status code indicating that the server understood the request but refuses to authorize it, usually due to a lack of permissions.

HTTP Code 404 (Not Found)

An HTTP status code indicating that the requested resource could not be found on the server.

Grafana

An open-source interactive data visualization platform that allows users to create, explore, and share analytic dashboards from multiple time-series d...

Recommended Articles

Créer des tableaux de bord dans Zabbix : dashboards, widgets et pages

Construire des dashboards Zabbix utiles : pages, widgets (Graph, Problems, Top hosts, Honeycomb, ...

Visualiser et automatiser Zabbix : dashboards, Grafana et API

Construire des dashboards et cartes dans Zabbix, utiliser le plugin Zabbix de Grafana, et automat...

Prometheus : visualiser ses métriques (UI, Grafana et dashboards)

Visualiser les données Prometheus : interface web, graphes PromQL, connexion à Grafana, dashboard...

Grafana Cloud : démarrer avec la plateforme managée (Mimir, Loki, Tempo, Alloy)

Découvrir Grafana Cloud : création d'une stack, offre gratuite, envoi de métriques, logs et trace...

Maîtriser les Transformations dans Grafana : Manipulez vos données avec agilité

Apprenez à utiliser les transformations Grafana pour reformater, calculer et combiner vos données...

Les Data Sources dans Grafana : Connectez et unifiez vos données

Apprenez à étendre les capacités de Grafana via les Data Sources. Découvrez les plugins essentiel...

Grafana Alloy : Collecte et Transformation de Télémétrie

Apprenez à utiliser Grafana Alloy pour collecter, transformer et acheminer logs, métriques et tra...

Tableaux de bord Grafana avec la source de données Zabbix

Afficher Zabbix dans Grafana : installer le plugin, créer un utilisateur et un jeton d'API, confi...

HAProxy dans Kubernetes : L'Ingress Controller Haute Performance

Découvrez en profondeur l'intégration de HAProxy dans Kubernetes. Architecture Direct-to-Pod, opt...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!