proxy-server
Metrics¶
In the table, <type>
is the proxy-server controller responsible for the
request and will be one of account
, container
, or object
.
Metric Name |
Description |
|
Count of errors encountered while serving requests before the controller type is determined. Includes invalid Content-Length, errors finding the internal controller to handle the request, invalid utf8, and bad URLs. |
|
Count of node hand-offs; only tracked if log_handoffs is set in the proxy-server config. |
|
Count of times only hand-off locations were utilized; only tracked if log_handoffs is set in the proxy-server config. |
|
Count of client timeouts (client did not read within
|
|
Count of detected client disconnects during PUT operations (does NOT include caught Exceptions in the proxy-server which caused a client disconnect). |
Additionally, middleware often emit their own metrics
proxy-logging
Middleware¶
In the table, <type>
is either the proxy-server controller responsible
for the request: account
, container
, object
, or the string
SOS
if the request came from the Swift Origin Server middleware.
The <verb>
portion will be one of GET
, HEAD
, POST
, PUT
,
DELETE
, COPY
, OPTIONS
, or BAD_METHOD
. The list of valid
HTTP methods is configurable via the log_statsd_valid_http_methods
config variable and the default setting yields the above behavior.
Metric Name |
Description |
|
Timing data for requests, start to finish. The <status> portion is the numeric HTTP status code for the request (e.g. “200” or “404”). |
|
Timing data up to completion of sending the response headers (only for GET requests). <status> and <type> are as for the main timing metric. |
|
This counter metric is the sum of bytes transferred in (from clients) and out (to clients) for requests. The <type>, <verb>, and <status> portions of the metric are just like the main timing metric. |
The proxy-logging
middleware also groups these metrics by policy. The
<policy-index>
portion represents a policy index:
Metric Name |
Description |
|
Timing data for requests, aggregated by policy index. |
|
Timing data up to completion of sending the response headers, aggregated by policy index. |
|
Sum of bytes transferred in and out, aggregated by policy index. |
tempauth
Middleware¶
In the table, <reseller_prefix>
represents the actual configured
reseller_prefix or NONE
if the reseller_prefix is the empty string:
Metric Name |
Description |
|
Count of regular requests which were denied with HTTPUnauthorized. |
|
Count of regular requests which were denied with HTTPForbidden. |
|
Count of token requests which were denied. |
|
Count of errors. |
tempurl
Middleware¶
Metric Name |
Description |
|
Count of requests authorized using the specified
|
formpost
Middleware¶
Metric Name |
Description |
|
Count of requests authorized using the specified
|