Skip to content

Commit

Permalink
Actions Usage Metrics - GA (#51528)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Ahmady <[email protected]>
Co-authored-by: jc-clark <[email protected]>
  • Loading branch information
3 people authored Jul 25, 2024
1 parent 23d285f commit 9bb4bbf
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ In addition to the usage limits, you must ensure that you use {% data variables.

## {% data variables.product.prodname_actions %} usage metrics

{% data reusables.actions.actions-usage-metrics-beta-note %}

If you are on a {% data variables.product.prodname_ghe_cloud %} plan, organization owners and users with the "View organization Actions usage metrics" permission can view {% data variables.product.prodname_actions %} usage metrics for their organization. These metrics can help understand how and where your Actions minutes are being used. For more information, see "[AUTOTITLE](/enterprise-cloud@latest/organizations/collaborating-with-groups-in-organizations/viewing-usage-metrics-for-github-actions)."
Organization owners and users with the "View organization Actions usage metrics" permission can view {% data variables.product.prodname_actions %} usage metrics for their organization. These metrics can help you understand how and where your Actions minutes are being used. For more information, see "[AUTOTITLE](/enterprise-cloud@latest/organizations/collaborating-with-groups-in-organizations/viewing-usage-metrics-for-github-actions)."

When you view usage metrics, it is important to remember that {% data reusables.actions.actions-usage-metrics-not-billing-metrics %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ redirect_from:
- /actions/monitoring-and-troubleshooting-workflows/viewing-github-actions-usage-metrics-for-your-organization
---

{% data reusables.actions.actions-usage-metrics-beta-note %}

If you are on a {% data variables.product.prodname_ghe_cloud %} plan, {% data reusables.actions.about-actions-usage-metrics %}

For more information about how to use {% data variables.product.prodname_actions %} usage metrics, see "[AUTOTITLE](/enterprise-cloud@latest/organizations/collaborating-with-groups-in-organizations/viewing-usage-metrics-for-github-actions)" in the {% data variables.product.prodname_ghe_cloud %} documentation.
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,30 @@ versions:
feature: actions-usage-metrics
---

{% data reusables.actions.actions-usage-metrics-beta-note %}

## About {% data variables.product.prodname_actions %} usage metrics

{% data reusables.actions.about-actions-usage-metrics %}

{% data reusables.actions.actions-usage-metrics-not-billing-metrics %}

## Enabling access to {% data variables.product.prodname_actions %} usage metrics

Organization owners can create custom organization roles to allow people to view {% data variables.product.prodname_actions %} usage metrics for their organization. To provide users with access, select the "View organization Actions usage metrics" role when creating a custom organization role. For more information, see "[AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."

## Understanding {% data variables.product.prodname_actions %} usage metrics aggregation

{% data reusables.actions.about-actions-usage-metrics-aggregation %}

## Viewing {% data variables.product.prodname_actions %} usage metrics

> [!NOTE]
There may be a discrepancy between the **Workflows** tab's job count and the **Jobs** tab's count due to differences in how unique jobs are identified. This does not affect the total minutes calculated.

{% data reusables.profile.access_org %}
{% data reusables.user-settings.access_org %}
{% data reusables.organizations.insights %}
1. In the "Insights" navigation menu, click **Actions Usage Metrics**.
1. Optionally, to select a time period to view usage metrics for, choose an option from the **Period** drop down menu at the top right of the page.
1. Optionally, to select a time period to view usage metrics for, choose an option from the **Period** drop down menu at the top right of the page. For more information, see "[Understanding {% data variables.product.prodname_actions %} usage metrics aggregation](#understanding-github-actions-usage-metrics-aggregation)."
1. Click on the tab that contains the usage metrics you would like to view. For more information, see "[About {% data variables.product.prodname_actions %} usage metrics](#about-github-actions-usage-metrics)."
1. Optionally, to filter the data displayed in a tab, create a filter.
1. Click on the **{% octicon "filter" aria-hidden="true" %} Filter** button.
Expand Down
14 changes: 14 additions & 0 deletions data/reusables/actions/about-actions-usage-metrics-aggregation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
The time period selection feature allows you to view {% data variables.product.prodname_actions %} usage metrics over predefined periods, as detailed in the following table. These metrics include skipped runs and those that use zero minutes. Data is presented using Coordinated Universal Time (UTC) days.

{% rowheaders %}

| Period | Description |
|------------------------|------------------------------------------------------------------------------|
| Current week (Mon-Sun) | Data from Monday through the current day when the page is viewed. |
| Current month | Data from the first of the month to the current day when the page is viewed. |
| Last week | Data from the first day to the last day of the previous month. |
| Last 30 days | Data from the last 30 days to when the page is viewed. |
| Last 90 days | Data from the last 90 days to when the page is viewed. |
| Last year | Data aggregated for the last 12 months. |

{% endrowheaders %}
1 change: 0 additions & 1 deletion data/reusables/actions/actions-usage-metrics-beta-note.md

This file was deleted.

0 comments on commit 9bb4bbf

Please sign in to comment.