This page describes the resources available for administrators to monitor activity and growth in Artifact Registry resources using Google Cloud Observability services.
By default, Artifact Registry is configured to do the following:
- Send system logs and audit logs to Cloud Logging
- Send system metrics and resource metrics to Cloud Monitoring
Collected logs
Artifact Registry sends the following types of audit log data to Cloud Logging:
Data Access audit logs are disabled by default because these audit logs can be quite large. For more information about Audit logs in Artifact Registry, see Audit Logging.
Query and view logs
You can use following tools to view and analyze your logs:
- Logs Explorer is designed to help you troubleshoot and analyze the performance of your services and applications. To learn how to view logs in the Logs Explorer, follow the instructions in View logs by using the Logs Explorer.
- Log Analytics is designed to run queries to analyze your logs, and then view or chart the results. To learn how to use Log Analytics, follow the instructions in Query and analyze logs in Log Analytics.
You can filter for Artifact Registry logs in the Logs Explorer by searching
for artifactregistry
in the search field.
For more information about querying and analyzing logs, see Query and view logs overview.
For pricing information, see the Cloud Logging sections of the Google Cloud Observability pricing page.
Collected metrics
Artifact Registry sends metric data from the following monitored-resources to Google Cloud Observability.
To view all metrics sent by Artifact Registry to Google Cloud Observability, see Artifact Registry Metrics.
For more information about metrics, read Metrics, time series, and resources.
Artifact Registry location
Both logs-based metrics and quota metrics write data against the location resource.
Artifact Registry project
Metrics that are written against the project resource include request counts and request latency per project for control plane API requests and data plane API requests. Requests to create and modify repositories are control plane API requests, while tools such as Docker, Maven, or pip send requests to the data plane API.
Repository
Metrics that are written against the repository resource include request counts and request latency per repository for control plane API requests and data plane API requests, as well as repository size over time.
Query and view metrics
You can use the Metrics Explorer to create a chart that displays data for a single metric type, or for multiple metric types. After you create a chart, you can discard it , save it to a custom dashboard, or share it.
To get started using the Metrics Explorer to view Artifact Registry metrics, follow the instructions in Chart request counts per repository in the Metrics Explorer.
For pricing information, see the Cloud Monitoring sections of the Google Cloud Observability pricing page.
What's next
- Configure monitoring alerts for repository growth
- Chart request counts per repository in the Metrics Explorer
- Read more about how to create charts with Metrics Explorer.
- Learn about Artifact Registry Audit Logs.