[TP] Projet 2 : Manipulation de l'API Dynatrace
What you will learn in this TP :
- Compatibilité des plugins / datasources
- Récupérer les données au format CSV
- Récupérer les données au format JSON
Introduction
What you will learn in this section :Ce projet a pour objectif de vous apprendre à manipuler les données Dans Dynatrace via son API.
- Compatibilité des plugins / datasources
INFORMATION : Certains plugins, datasources necessitent des versions précises de Grafana. C'est le cas de la datasource Dynatrace qui nécessite de disposer de 'Grafana Cloud' ou 'Grafana Enterprise'.Bien évidemment cela reste valable pour interroger d'autres solutions via API.
Datasource Infinity
What you will learn in this section :
- Récupérer les données au format CSV
- Récupérer les données au format JSON
-
La méthode HTTP
En fonction de l'appel que vous souhaitez faire, Dans la documentationde l'API, on vous indiquera la méthode à utiliser.INFORMATION : Par défaut Infinity va envoyer vos requêtes avec la méthode 'GET'. Vous devez trouver l'option pour la modifier ?
-
L'authentification
-
L'entête accept
Grafana va se baser sur 'curl' pour requêter vos URLs pour le plugin infinity. En fonction du format que vous souhaitez obtenir il faut donc le demander à l'API via une entête.INFORMATION : Je vous invite à vous renseigner sur les différentes valeurs mais Dans notre cas la clé(key) c'est 'accept' et comme valeur(value):
Comment configurer ce paramètre Dans Grafana pour le plugin Infinity?- JSON : application/json
- CSV : text/csv
Course Glossary
The process of notifying teams (via email, Slack, Teams) when a specific event, threshold breach, or anomaly is detected.
An HTTP status code indicating that the client's request was successfully processed by the server.
An HTTP status code indicating that the server understood the request but refuses to authorize it, usually due to a lack of permissions.
An HTTP status code indicating that the requested resource could not be found on the server.
Recommended Articles
Understand the evolution of billing in Dynatrace: the difference between the ...
Discover why and how to configure Grafana Alloy so that it monitors itself, c...
Discover how to enable, secure, and use Grafana Alloy's built-in web interfac...
Discover the fundamental concepts of Grafana Alloy, the transition from the s...
Master Grafana Alloy's declarative syntax (River language), learn to manipula...
Learn how to configure Grafana Alloy to collect, transform, and forward metri...
Discover how to configure Grafana Alloy to read log files, journald, or netwo...
Dive into distributed trace processing. Learn how to ingest OTLP, Jaeger, or ...
Discover how to configure continuous profiling in your environments using Gra...
Learn how to manage large-scale Grafana Alloy deployments. Configure Clusteri...
Discover Grafana Assistant, the artificial intelligence integrated into Grafa...
Comparison between Grafana Alloy and Dynatrace ActiveGate. Understand the fun...