Chart request counts per repository in the Metrics Explorer Stay organized with collections Save and categorize content based on your preferences.
This page describes how you can chart Artifact Registry request count metrics inthe Metrics Explorer, and manipulate the chart by different parameters suchas read requests, write requests, method and repository ID.
Required roles
To get the permissions that you need to view monitoring data and configuration information, ask your administrator to grant you theMonitoring Viewer (roles/monitoring.viewer) IAM role on the Google Cloud project. For more information about granting roles, seeManage access to projects, folders, and organizations.
You might also be able to get the required permissions throughcustom roles or otherpredefined roles.
For more information about controlling access to monitoring data, readControl access with IAM.
Chart API request counts per repository
When using Metrics Explorer, you can select the data to chart by makingselections in the menus or by entering a PromQL query. For more informationabout creating charts, seeCreate a chart in the Metrics Explorer.
To view the metrics for a monitored resource by using theMetrics Explorer, do the following:
In the Google Cloud console, go to theleaderboard Metrics explorer page:
If you use the search bar to find this page, then select the result whose subheading isMonitoring.
- In the toolbar of the Google Cloud console, select your Google Cloud project. ForApp Hub configurations, select the App Hub host project or the app-enabled folder's management project.
- In theMetric element, expand theSelect a metric menu, enter
Artifact Registryin the filter bar, and then use the submenus to select a specific resource type and metric:- In theActive resources menu, selectArtifact Registry Repository.
- In theActive metric categories menu, selectRepository.
- In theActive metrics menu, selectData plane API request count per repository. Data plane API requests are made by tools likeDocker, Maven, Pip, Twine, or Gradle tools that make requests to the data-planeAPI. You can view all methods that create requests to the data-plane API inData plane API.
If you want to view control plane API requests made by methods listed in
google.devtools.artifactregistry.v1.ArtifactRegistry,then selectControl plane API request count per repository. - ClickApply.
artifactregistry.googleapis.com/repository/request_count. To add filters, which remove time series from the query results, use theFilter element.
- Configure how the data is viewed. To specify a subset of data to display, in theFilter element, selectAdd filter, and then complete the dialog.
For example, you can view data for the following:
- Read requests: apply a filter for theMetric label
typeequal to thevalueREAD. - Write requests: apply a filter for theMetric label
typeequal to thevalueWRITE. - Method: apply a filter for theMetric label
methodwith a value fromthe methods listed in theData plane API. Forexample, apply a filtermethodequal to the value ofDocker-DeleteBlobto filter for image layer deletion. - Repository ID: apply a filter for theMetric label
repository_idequalto the repository ID. For examplemy-repo.For more information about configuring a chart, seeSelect metrics when using Metrics Explorer.
- Read requests: apply a filter for theMetric label
You can add multiple filters. For more information on filtering data, seeFilter charted data andthe labels descriptions for Artifact Registry metrics in the list ofGoogle Cloud Metrics.
For more information on selecting data, seeSelect the data to chart.
What's next
- Learn how tosave a chart for future reference.
- View Artifact Registry data-plane and control-plane methods that youcan use as filters inAPI interface audit logs.
- Explore charted data.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.