diff options
author | Zuul <zuul@review.opendev.org> | 2022-02-08 02:07:25 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-02-08 02:07:25 +0000 |
commit | 57f17ace7c911b80587a03634346478b6ca432e8 (patch) | |
tree | ac3b4371e2d57466f9a510838b4899091618f574 /doc | |
parent | a669a7598703691fc7b2ff7c2ce0d90b92787adb (diff) | |
parent | eda7d5fe3c9527ae20850b38f8b626782dd5efec (diff) | |
download | swift-57f17ace7c911b80587a03634346478b6ca432e8.tar.gz |
Merge "Deprecate LogAdapter.set_statsd_prefix"
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/admin/objectstorage-monitoring.rst | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/source/admin/objectstorage-monitoring.rst b/doc/source/admin/objectstorage-monitoring.rst index cc3b31fa4..86e81711b 100644 --- a/doc/source/admin/objectstorage-monitoring.rst +++ b/doc/source/admin/objectstorage-monitoring.rst @@ -145,14 +145,6 @@ require accuracy (``sample_rate=1``) while others may not. Then the LogAdapter object returned by ``get_logger()``, usually stored in ``self.logger``, has these new methods: -- ``set_statsd_prefix(self, prefix)`` Sets the client library stat - prefix value which gets prefixed to every meter. The default prefix - is the ``name`` of the logger such as ``object-server``, - ``container-auditor``, and so on. This is currently used to turn - ``proxy-server`` into one of ``proxy-server.Account``, - ``proxy-server.Container``, or ``proxy-server.Object`` as soon as the - Controller object is determined and instantiated for the request. - - ``update_stats(self, metric, amount, sample_rate=1)`` Increments the supplied meter by the given amount. This is used when you need to add or subtract more that one from a counter, like incrementing |