Skip To Content
ArcGIS Developer

Usage Statistics


The usagestatistics 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 includes the following:

  • Historical service usage data
  • Peak and off-peak periods of service usage
  • Slowdown in response times or throughput

Before accessing the Prometheus dashboard, you must update your credentials. The new password must be a minimum of eight characters and must contain at least one letter (A-Z, a-z), one number (0-9), and one special character.

Metrics viewer


Prior to ArcGIS Enterprise 11.2 on Kubernetes, administrators could directly access Grafana through the metrics viewer app. However, Grafana is no longer accessible from ArcGIS Enterprise on Kubernetes. While administrators no longer have access to the metrics viewer, Grafana can still be installed separately and used with Prometheus for the metrics API.

This resource is only available to deployments using ArcGIS Enterprise 11.1 on Kubernetes or earlier versions. 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 about how to view statistics dashboards, and which dashboards are included with your deployment, see View statistics in the ArcGIS Enterprise on Kubernetes help.

Metrics API

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.

Request parameters


The response format. The only supported format is html.

Example usage

The following is a sample request URL used to access the usagestatistics resource: