Skip to main content

Esta versión de GitHub Enterprise Server se discontinuó el 2024-03-26. No se realizarán lanzamientos de patch, ni siquiera para problemas de seguridad críticos. Para obtener rendimiento mejorado, seguridad mejorada y nuevas características, actualice a la versión más reciente de GitHub Enterprise Server. Para obtener ayuda con la actualización, póngase en contacto con el soporte técnico de GitHub Enterprise.

Incluir datos sobre acciones de GitHub en estadísticas del servidor

Puede ayudarnos a mejorar GitHub Actions al permitir que Server Statistics recopile datos sobre GitHub Actions.

¿Quién puede utilizar esta característica?

Enterprise owners can include data about GitHub Actions in Server Statistics.

Note: Including GitHub Actions data in Server Statistics is in public beta and subject to change.

Data collected

If you enable the collection of data about GitHub Actions, the following data will be collected for your GitHub Enterprise Server instance.

  • The top 20 actions used per month, by organization
  • Number of checks run, by organization
  • Number of jobs per hour, day, week, and month, by organization
  • Maximum concurrency of running jobs, by organization and operating system
  • Workflows per operating system, by organization
  • Job run length, by organization
  • Number of job runners, by type (no names or IP addresses are collected)
  • Job distribution over types of runners

Enabling the collection of data about GitHub Actions

  1. SSH into your GitHub Enterprise Server instance. If your instance comprises multiple nodes, for example if high availability or geo-replication are configured, SSH into the primary node. If you use a cluster, you can SSH into any node. Replace HOSTNAME with the hostname for your instance, or the hostname or IP address of a node. For more information, see "Accessing the administrative shell (SSH)."

    Shell
    ssh -p 122 admin@HOSTNAME
    
  2. Enter the following command.

    Shell
    ghe-config app.github.enable-actions-usage-stats true
    
  3. To apply the configuration, run the following command.

    Note: During a configuration run, services on your GitHub Enterprise Server instance may restart, which can cause brief downtime for users.

    Shell
    ghe-config-apply
    
  4. Wait for the configuration run to complete.