ArcGIS Server records various service statistics, such as total requests, average response time and timeouts, then reports this information in ArcGIS Server Manager as one or a series of graphs. Administrators and publishers can use this information to monitor service activity to better understand how clients are using services. For example, monitoring server statistics help you answer questions such as:
- What is the total number of requests that my ArcGIS Server site handled during the past week?
- How was the service request load distributed during the past month?
- How are my services performing on an hourly basis?
- What was the maximum number of service instances used at any given time for a particular service?
Role of server statistics
Statistics are an important tool for monitoring service usage. The statistics help you identify how clients use your services and identify potential issues that may affect your services. The statistics also represent a history of events that occur over time.
For example, an administrator may create a report of the maximum response times for all services in the site over the past month. Upon examining the report, the administrator can correlate a spike in response times from a specific service to complaints from clients. Using this information, the administrator can increase the number of instances used by that service to help decrease response times.
Access server statistics
Use ArcGIS Server Manager to access, view, configure, and delete reports generated from server statistics. Manager aggregates the various statistics from the site and presents the information in a graph that is easy to view and manipulate. See Working with server statistics for full instructions.
Statistics are stored in the ArcGIS Server system directory. This directory is also used to manage information necessary for maintaining services, GIS servers, and database connections, as well as storing files uploaded to the ArcGIS Server site. Do not manually modify or delete files in this directory. There can only be one instance of this directory within the ArcGIS Server site.
To accommodate the statistics information stored in the system directory, allocate at least 500 MB of disk space. Large organizations with many services may require well over 500 MB.
Perform advanced monitoring of server statistics
If you're an advanced user of ArcGIS Server, you can monitor server statistics through the ArcGIS REST API. The API allows you to programmatically derive statistics over time.
The following example scripts are available to help you understand how you can programmatically obtain and monitor statistics. You can also use the ArcGIS Server Administrator Directory to learn how to send a request to ArcGIS Server and work with a response.