This article is available in French.
1. Pourquoi une application #
Quand les dashboards ne suffisent plus.
Cas d'usage #
- Une vue métier sur mesure (parcours de commande, état d'un parc de magasins) mêlant données Dynatrace et données internes.
- Un outil d'exploitation (gestion de fenêtres de maintenance, actions guidées) pour les équipes de support.
- Une intégration avec un système tiers via les fonctions d'application.
2. Développer #
Le Dynatrace App Toolkit.
Commandes #
npx dt-app@latest create --environment-url https://<env>.apps.dynatrace.com
cd mon-app
npm run start # développement local relié à l'environnement
npm run deploy # publication dans l'environnement// Requête Grail depuis l'interface
import { useDql } from '@dynatrace-sdk/react-hooks';
export const ErrorsByService = () => {
const { data, isLoading } = useDql({
query: 'fetch logs | filter loglevel == "ERROR" | summarize errors = count(), by: { service.name } | sort errors desc | limit 10',
});
return isLoading ? 'Chargement…' : <pre>{JSON.stringify(data?.records, null, 2)}</pre>;
};Les permissions nécessaires (lecture des logs, des documents...) sont déclarées dans app.config.json ; l'utilisateur doit lui-même avoir ces droits pour que l'application lise les données.
À savoir : Dynatrace évolue très vite (nouvelle plateforme, Grail, applications) : vérifiez les noms d'écrans et les versions d'API dans la documentation de votre environnement.
My progress
Sign in to track your progress and take notes. Sign in
Course Glossary
AIOps (Artificial Intelligence for IT Operations)
The use of artificial intelligence and machine learning to automate and improve IT operations (e.g., anomaly detection, reducing alert noise).
OpenTelemetry
An open source framework providing standards, APIs, and SDKs to collect and export observability data (traces, metrics, logs) in an agnostic way.
Recommended Articles
Understanding the concept of score
The concept of score allows Elasticsearch to rank your documents by relevance during a search.
Understanding the Elastic Common Schema (ECS)
As always in our consulting engagements, we recommend that companies harmonise and standardise: k...
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 ...