4a2ae2b46034e8027bee20dcfaaf38a9ee0c5c17
Go to file
Darrell Bishop 4a2ae2b460 Upating proxy-server StatsD logging.
Removed many StatsD logging calls in proxy-server and added
swift-informant-style catch-all logging in the proxy-logger middleware.
Many errors previously rolled into the "proxy-server.<type>.errors"
counter will now appear broken down by response code and with timing
data at: "proxy-server.<type>.<verb>.<status>.timing". Also, bytes
transferred (sum of in + out) will be at:
"proxy-server.<type>.<verb>.<status>.xfer". The proxy-logging
middleware can get its StatsD config from standard vars in [DEFAULT] or
from access_log_statsd_* config vars in its config section.
Similarly to Swift Informant, request methods ("verbs") are filtered
using the new proxy-logging config var, "log_statsd_valid_http_methods"
which defaults to GET, HEAD, POST, PUT, DELETE, and COPY. Requests with
methods not in this list use "BAD_METHOD" for <verb> in the metric name.
To avoid user error, access_log_statsd_valid_http_methods is also
accepted.
Previously, proxy-server metrics used "Account", "Container", and
"Object" for the <type>, but these are now all lowercase.
Updated the admin guide's StatsD docs to reflect the above changes and
also include the "proxy-server.<type>.handoff_count" and
"proxy-server.<type>.handoff_all_count" metrics.
The proxy server now saves off the original req.method and proxy_logging
will use this if it can (both for request logging and as the "<verb>" in
the statsd timing metric). This fixes bug 1025433.
Removed some stale access_log_* related code in proxy/server.py. Also
removed the BaseApplication/Application distinction as it's no longer
necessary.
Fixed up the sample config files a bit (logging lines, mostly).
Fixed typo in SAIO development guide.
Got proxy_logging.py test coverage to 100%.
Fixed proxy_logging.py for PEP8 v1.3.2.
Enhanced test.unit.FakeLogger to track more calls to enable testing
StatsD metric calls.
Change-Id: I45d94cb76450be96d66fcfab56359bdfdc3a2576
2012年08月29日 16:08:30 -07:00
2012年08月27日 20:25:44 +00:00
2012年08月29日 16:08:30 -07:00
2012年08月29日 16:08:30 -07:00
2012年08月29日 16:08:30 -07:00
2012年08月29日 16:08:30 -07:00
2012年08月21日 14:43:30 -07:00
2012年03月07日 22:44:34 -08:00
2011年10月24日 15:05:49 -04:00
2012年08月27日 09:55:06 +08:00
2011年01月27日 00:01:24 +00:00
2012年07月29日 19:13:23 -07:00
2010年07月12日 17:03:45 -05:00
2012年05月30日 15:39:37 +02:00
2012年06月08日 20:05:14 -04:00

Swift
-----
A distributed object store that was originally developed as the basis for 
Rackspace's Cloud Files.
To build documentation run `python setup.py build_sphinx`, and then browse to
/doc/build/html/index.html.
The best place to get started is the "SAIO - Swift All In One", which will walk
you through setting up a development cluster of Swift in a VM.
For more information, visit us at http://launchpad.net/swift, or come hang out
on our IRC channel, #openstack on freenode.
--
Swift Development Team
Description
OpenStack Storage (Swift)
Readme 204 MiB
Languages
Python 99.7%
JavaScript 0.2%