Skip To Content
ArcGIS Developer
Dashboard

ArcGIS Enterprise on Kubernetes

Usage Statistics

Description

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
Note:

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

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 dashboards using the metrics viewer 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

ParameterDetails
f

The response format. The only supported format is html.

Example usage

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

https://organization.domain.com/context/admin/usagestatistics?f=html