Skip to main content

About monitoring workflows

You can use the tools in GitHub Actions to monitor your workflows, metrics, and self-hosted runners.

Monitoring your workflows

Monitoring your current jobs in your organization or enterprise

Pour identifier des contraintes liées à la concurrence ou la mise en file d’attente, vous pouvez vérifier le nombre de travaux actuellement traités sur les exécuteurs hébergés par GitHub dans votre organisation ou entreprise. Pour plus d’informations, consultez « Monitoring your current jobs ».

Using the visualization graph

Every workflow run generates a real-time graph that illustrates the run progress. You can use this graph to monitor and debug workflows. For example:

Screenshot of the visualization graph of a workflow run.

For more information, see Using the visualization graph.

Adding a workflow status badge

Un badge d’état indique si un workflow est en train d’échouer ou de réussir. En règle générale, vous ajoutez un badge d’état dans le fichier README.md de votre dépôt, mais vous pouvez l’ajouter dans n’importe quelle page web de votre choix. Par défaut, les badges affichent l’état de votre branche par défaut. Si aucun flux de travail n’est exécuté sur votre branche par défaut, ils affichent l’état de l’exécution la plus récente sur toutes les branches. Vous pouvez afficher l’état d’une exécution de workflow pour une branche ou un événement spécifique en utilisant les paramètres de requête branch et event dans l’URL.

Capture d’écran d’un badge d’état de workflow. De droite à gauche, le logo GitHub, le nom du flux de travail (« Version de démonstration GitHub Actions ») et l’état (« Passé ») sont affichés.

For more information, see Adding a workflow status badge.

Viewing job execution time

To identify how long a job took to run, you can view its execution time. For more information, see Viewing job execution time.

Viewing workflow run history

You can view the status of each job and step in a workflow. For more information, see Viewing workflow run history.

Monitoring GitHub Actions metrics

To analyze the efficiency and reliability of your workflows using metrics, see Viewing GitHub Actions metrics.

Monitoring self-hosted runners

If you use self-hosted runners, you can view their activity and diagnose common issues.

For more information, see Monitoring and troubleshooting self-hosted runners.