Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Ce document présente la surveillance des applications, une approche axée sur les applications pour surveiller vos applications. Application Monitoring fournit des tableaux de bord prêts à l'emploi pour vos applications, services et charges de travail App Hub. Pour comprendre les ressources utilisées par votre application et la façon dont elles interagissent, vous pouvez utiliser App Hub. Pour comprendre les performances des ressources de votre application et diagnostiquer les problèmes, vous utilisez les données de télémétrie qu'Application Monitoring affiche dans les tableaux de bord prêts à l'emploi.
Qu'est-ce que la surveillance des applications ?
Application Monitoring vous permet de surveiller les ressources et l'infrastructure du point de vue d'une application. En d'autres termes, vous ne commencez pas une investigation en recherchant vos ressources et en déterminant celles qui sont utilisées par votre application. Au lieu de cela, vous commencez votre enquête avec votre application, puis vous recherchez des informations sur les ressources et l'infrastructure qu'elle utilise.
Les tableaux de bord prêts à l'emploi générés pour votre application vous permettent de comprendre l'état opérationnel de votre application, ainsi que de ses services et charges de travail.
Pourquoi adopter la surveillance des applications ?
L'utilisation de la surveillance des applications peut vous faire gagner du temps et vous faciliter la tâche. Par exemple, supposons que vous utilisiez App Design Center pour vous aider à concevoir et à déployer votre application. Ensuite, vous utilisez App Hub pour organiser et gérer cette application, et la surveillance des applications pour comprendre ses performances et diagnostiquer les échecs :
Tableaux de bord prêts à l'emploi pour les applications, les services et les charges de travail
Propagation des libellés pour les services et les charges de travail d'une application App Hub.
Filtrez la télémétrie par niveau de gravité et par environnement.
Intégration parfaite avec l'Open Source
Lorsque votre application est déployée, le service Application Monitoring la détecte et crée automatiquement des tableaux de bord adaptés à votre environnement. Pour vous aider à examiner les incidents, ces tableaux de bord prêts à l'emploi permettent d'effectuer des recherches et d'appliquer des filtres.
Les tableaux de bord prêts à l'emploi affichent les éléments suivants :
Informations telles que l'emplacement, la criticité et les propriétaires.
Informations sur les incidents ouverts.
Données de journaux et de métriques générées par l'infrastructure compatible.
Les données de métriques incluent des signaux d'or, comme les taux d'erreur et le trafic, ainsi que certaines métriques.
Lorsque vos applications s'exécutent sur une infrastructure compatible, Google Cloud Observability ajoute des libellés spécifiques aux applications à vos données de télémétrie.
Ces libellés identifient votre application App Hub.
Vous pouvez utiliser ces libellés spécifiques aux applications lorsque vous interrogez vos données de télémétrie. Les pages Explorateur de journaux, Explorateur de métriques et Explorateur de traces vous permettent d'utiliser des libellés pour filtrer et agréger les données.
Premiers pas avec la surveillance des applications
Pour utiliser Application Monitoring, procédez comme suit :
Configurez le champ d'observabilité pour pouvoir afficher la télémétrie d'une application enregistrée auprès d'App Hub. Pour en savoir plus sur cette étape, consultez Configurer la surveillance des applications.
Si vous souhaitez que les données de métriques et de trace générées par votre application incluent des libellés d'application, instrumentez votre application avec OpenTelemetry ou utilisez Google Cloud Managed Service pour Prometheus. Pour en savoir plus, consultez Instrumenter une application pour Application Monitoring.
Ouvrez et explorez les tableaux de bord prêts à l'emploi. Pour savoir comment afficher ces tableaux de bord, consultez Afficher la télémétrie des applications.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[],[],null,["# Application Monitoring overview\n\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis document introduces *Application Monitoring* , which is an application-centric\napproach to monitoring your applications. Application Monitoring provides\nout-of-the-box (OOTB) dashboards for your\n[App Hub](/app-hub/docs/overview) applications, services, and\nworkloads. To understand which resources your application uses and\nhow those resources interact, you use App Hub. To understand how\nyour application's resources are performing and to diagnose issues, you use the\ntelemetry data, which Application Monitoring displays on OOTB dashboards.\n\nWhat is Application Monitoring?\n-------------------------------\n\nApplication Monitoring lets you monitor the resources and infrastructure from the\nperspective of an application. That is, you don't begin an investigation\nby searching your resources and figuring out which ones are used by your\napplication. Instead, you begin an investigation with your application, and then\nfind information about the resources and infrastructure that it uses.\nThe OOTB dashboards generated for your\napplication let you understand the operational state of\nyour application and its services and workloads.\n\nTo use Application Monitoring, you must\n[create your application and register services and workloads to the application](/app-hub/docs/overview)\nand then configure the observability scope. To create an application and\nregister services and workloads to it, you can use App Hub,\nor you can deploy your application by using\nthe [Application Design Center](/application-design-center/docs/overview).\n\nWhy you should adopt Application Monitoring\n-------------------------------------------\n\nUsing Application Monitoring can save you time and effort. For example, suppose you\nuse the [Application Design Center](/application-design-center/docs/overview)\nto help you design and deploy your application. Next, you use\nApp Hub to help you organize and manage that application, and you use\nApplication Monitoring to understand the performance of your application and to diagnose\nfailures:\n\n- OOTB application, service, and workload dashboards\n- Label propagation for the services and workloads of an App Hub applications.\n- Filter telemetry by criticality and environment.\n- Seamless integration with open-source\n\nWhen your application is deployed, the Application Monitoring service\ndiscovers your application and automatically builds dashboards tailored\nto your environment. To support your investigation of incidents, these\nOOTB dashboards support search and filtering.\n\nThe OOTB dashboards display the following:\n\n- Information like the location, criticality, and owners.\n- Information about open incidents.\n- Log and metric data generated by [supported infrastructure](/stackdriver/docs/observability/application-monitoring-services). The metric data includes golden signals, like error rates and traffic, and select metrics.\n\nWhen your applications run on\n[supported infrastructure](/stackdriver/docs/observability/application-monitoring-services),\nGoogle Cloud Observability attaches application-specific labels to your telemetry data.\nThese labels identify your App Hub application.\nYou can use these application-specific labels when querying your telemetry\ndata. The **Logs Explorer** , **Metrics Explorer** , and\n**Trace Explorer** pages let you use labels to filter and aggregate\ndata.\n\nGet started with Application Monitoring\n---------------------------------------\n\nTo use Application Monitoring, do the following:\n\n1. Configure the observability scope so that you can view the telemetry for an\n application that is registered with\n [App Hub](/app-hub/docs/overview). For information\n about this step, see\n [Set up Application Monitoring](/stackdriver/docs/observability/setup-application-monitoring).\n\n2. Attach application-specific labels to your alerting policies.\n For information about this step, see\n [Associate an alerting policy with an App Hub application](/stackdriver/docs/observability/setup-application-monitoring#alert).\n\n3. If you want your application-generated metric and trace data to include\n application labels, then instrument your application with OpenTelemetry or use\n Google Cloud Managed Service for Prometheus. For more information, see\n [Instrument app for Application Monitoring](/stackdriver/docs/observability/instrument-for-application-monitoring).\n\n | **Note:** For workloads that run on Google Kubernetes Engine, the OOTB dashboards display OpenTelemetry-defined metrics for traffic, latency, and error rate golden signals.\n4. Open and explore the OOTB dashboards. For information about viewing\n these dashboards, see [View application telemetry](/stackdriver/docs/observability/application-monitoring)."]]