Usage Statistics

URL:
https://<root>/usagestatistics
Methods:
GET
Required Capability:
Access allowed only with the default administrator role
Version Introduced:
10.9

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

Metrics viewer

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

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:

Use dark colors for code blocksCopy
1
https://organization.domain.com/context/admin/usagestatistics?f=html

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.