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

Grafana vs Kibana : Quel outil de visualisation choisir ?

Découvrez les différences fondamentales entre Grafana, le roi des métriques multi-sources, et Kib...

La stack LGTM (Loki, Grafana, Tempo, Mimir) : architecture et mise en place

Comprendre la stack LGTM de Grafana Labs : Loki pour les logs, Grafana pour la visualisation, Tem...

Grafana Assistant: AI at the service of observability

Discover Grafana Assistant, the artificial intelligence integrated into Grafana Cloud. Learn how ...

Maîtriser les Variables dans Grafana : Dynamisez vos Tableaux de Bord

Apprenez à utiliser les variables pour créer des tableaux de bord interactifs et réutilisables. D...

Grafana : maîtriser les requêtes (PromQL, LogQL, SQL et expressions)

Construire des requêtes efficaces dans Grafana : éditeur de requêtes, Query Inspector, PromQL, Lo...

Bonnes pratiques Grafana : dashboards, provisioning, performances et sécurité

Bonnes pratiques Grafana : conception de dashboards lisibles, variables, dashboards as code, prov...

Grafana Provisioning : Automatisez la gestion de vos tableaux de bord et sources de données

Découvrez comment utiliser le provisioning de Grafana pour gérer vos configurations (dashboards, ...

TraceQL : le langage de requête des traces

Maîtriser TraceQL : sélecteurs de spans, attributs de ressource et de span, opérateurs, comparais...

PromQL : introduction au langage de requête de Prometheus

Apprendre PromQL, le langage de requête de Prometheus : sélecteurs, rate, sum by, histogrammes et...

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!