Skip to main content

This version of GitHub Enterprise Server was discontinued on 2024-09-25. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Exporting Server Statistics

You can use your own tools to analyze your GitHub Enterprise Server usage over time by downloading your Server Statistics metrics in a CSV or JSON file.

You can download up to the last 365 days of Server Statistics data in a CSV or JSON file. This data, which includes aggregate metrics on repositories, issues, and pull requests, can help you anticipate the needs of your organization, understand how your team works, and show the value you get from GitHub Enterprise Server.

Before you can download this data, you must enable Server Statistics. For more information, see Enabling Server Statistics for your enterprise.

To preview the metrics available to download, see About Server Statistics.

To download these metrics, you must be an enterprise owner or organization owner on GitHub Enterprise Cloud.

To learn more about GitHub Connect, see About GitHub Connect.

Downloading metrics from your enterprise account

  1. In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.

    Screenshot of the drop-down menu that appears when you click the profile photo on GitHub Enterprise Server. The "Enterprise settings" option is highlighted in a dark orange outline.

  2. On the left side of the page, in the enterprise account sidebar, click GitHub Connect.

  3. To start your download, next to "Server Statistics", select the Export dropdown menu, then choose whether you want to download a JSON or CSV file.

Downloading metrics from your organization

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations**.

  2. Next to the organization, click Settings.

  3. In the left sidebar, click GitHub Connect.

  4. To start your download, next to "Server Statistics", select the Export dropdown menu, then choose whether you want to download a JSON or CSV file.