RousselTMLEARNING

TP · Grafana: From Discovery to Expertise

Project 2: Working with the Dynatrace API

What you will learn in this TP
  • Plugin/data source compatibility
  • Retrieve data in CSV format
  • Retrieve data in JSON format

Introduction #

What you will learn in this section
  • Plugin/data source compatibility
This project aims to teach you how to work with data in Dynatrace via its API.
INFO: some plugins/data sources require specific versions of Grafana. This is the case for the Dynatrace data source, which requires 'Grafana Cloud' or 'Grafana Enterprise'.
This obviously also applies when querying other solutions via API.

Infinity data source #

What you will learn in this section
  • Retrieve data in CSV format
  • Retrieve data in JSON format
  1. The HTTP method

    Depending on the call you want to make, the API documentation will tell you which method to use.
    INFO: by default Infinity sends your requests using the 'GET' method. Can you find the option to change it?
  2. Authentication

  3. The accept header

    Grafana relies on 'curl' to query your URLs for the Infinity plugin. Depending on the format you want to get back, you need to request it from the API via a header.
    INFO: we invite you to look into the different values, but in our case the key is 'accept' and the value is:
    • JSON: application/json
    • CSV: text/csv
    How do you configure this parameter in Grafana for the Infinity plugin?

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

My progress

  • ⏱ Estimated time : ≈ 21 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

Grail : Dynatrace Data Lakehouse

Désormais vous disposez dans Dynatrace (SaaS) d'un Data Lakehouse nommé Grail dont vous pouvez co...

HAProxy dans Kubernetes : L'Ingress Controller Haute Performance

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

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...

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...

Différences entre Technologies et Services dans Dynatrace

Dans Dynatrace, les concepts de 'Technologie' et de 'Services' aident à organiser et surveiller l...

Dynatrace : Différences entre SQL Modifications, SQL Queries or Procedures, et SQL Transactions

Cet article détaille les différences entre trois concepts essentiels dans l'exécution des instruc...

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...

Synthetic Monitoring as Code : Industrialisez la gestion des scénarios synthétiques

Découvrez comment intégrer le Synthetic Monitoring dans vos pipelines CI/CD pour des tests de per...

Visualiser et automatiser Zabbix : dashboards, Grafana et API

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

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!