- Operations:Update Credentials
- Required Capability:Default administrator role | Security and infrastructure
- Version Introduced:10.9
This resource provides access to the metrics viewer and metrics API tools. As an administrator, you can use these tools to monitor GIS service usage in your organization for feature services, map services, tiled map services, geocode services, and geometry services. Information that can be gathered from service usage statistics include:
- Historical service usage data
- Peak and off-peak periods of service usage
- Slowdown in response times or throughput
Before accessing either the metrics viewer or metrics API, it is recommended that their credential be updated.
Service usage statistics are collected using a metrics API pod running in your cluster. These metrics are persisted by a metrics API and are exposed through a service metrics viewer pod that queries the metrics API.
The metrics viewer app uses Prometheus and Grafana components to create and view custom dashboards consisting of graph panels for various metrics. You can use PromQL queries on the metrics API to generate graphs for metrics across different periods of time. To learn more information on how to view statistics dashboards, and which dashboards are included with your deployment, see View statistics dashboards using the metrics viewer in the ArcGIS Enterprise on Kubernetes help.
As an administrator, you can use the metrics API with PromQL queries to directly query and obtain raw metrics that can be used by third-party viewers or graphical applications that may be running inside or outside of your cluster. The Prometheus monitoring system is used by the metrics API to collect these metrics from each GIS service pod and persist the information into a time-series database. For information on the types of raw metrics collected by the metrics API, see Access the metrics API in the ArcGIS Enterprise on Kubernetes help.
The response format. The only supported format is html.
The following is a sample request URL used to access the usagestatistics resource: