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)

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

License consumption types

Understand the evolution of billing in Dynatrace: the difference between the old licensing model ...

Grafana Alloy: The importance of Self-Monitoring

Discover why and how to configure Grafana Alloy so that it monitors itself, collecting its own lo...

Grafana Alloy: Understanding and exploiting the User Interface (UI)

Discover how to enable, secure, and use Grafana Alloy's built-in web interface to visualize your ...

Grafana Alloy: Introduction and Architecture

Discover the fundamental concepts of Grafana Alloy, the transition from the static Agent to Alloy...

Grafana Alloy: Syntax and Configuration (Alloy Language: River)

As part of a Grafana training or observability training, master the declarative syntax of Grafana...

Grafana Alloy: Metrics Collection (Prometheus & Ecosystem)

Learn how to configure Grafana Alloy to collect, transform, and forward metrics using the Prometh...

Grafana Alloy: Log Management with Loki

Discover how to configure Grafana Alloy to read log files, journald, or network streams, process ...

Grafana Alloy: Trace Management with Tempo

Dive into distributed trace processing. Learn how to ingest OTLP, Jaeger, or Zipkin traces with G...

Grafana Alloy: Continuous Profiling with Pyroscope

Discover how to configure continuous profiling in your environments using Grafana Alloy and Pyros...

Grafana Alloy: Advanced Deployment and Clustering

Learn how to manage large-scale Grafana Alloy deployments. Configure Clustering mode for high ava...

Grafana Assistant: AI at the service of observability

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

Grafana Alloy vs OpenTelemetry Collector: Which One Should You Choose?

A detailed comparison between Grafana Alloy and the OpenTelemetry Collector. Discover the strengt...

Grafana Alloy vs Dynatrace ActiveGate: Which to choose?

Comparison between Grafana Alloy and Dynatrace ActiveGate. Understand the fundamental differences...