Changeset View
Changeset View
Standalone View
Standalone View
docs/statsd.rst
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | |||||
Object storage | Object storage | ||||
-------------- | -------------- | ||||
In addition to :ref:`swh_statsd_metrics_rpc`, | In addition to :ref:`swh_statsd_metrics_rpc`, | ||||
* ``swh_objstorage_in_bytes_total`` | * ``swh_objstorage_in_bytes_total`` | ||||
* ``swh_objstorage_out_bytes_total`` | * ``swh_objstorage_out_bytes_total`` | ||||
.. _swh_statsd_metrics_outgoing: | |||||
Outgoing requests | |||||
----------------- | |||||
All these metrics are labelled with ``api_type`` and ``api_instance``, which | |||||
should match values used for ``lister_name`` and ``lister_instance`` used elsewhere. | |||||
Currently, it is only ``github`` for both. | |||||
They are also labelled with ``username``, which is either ``anonymous`` or the name of | |||||
the user owning the token used to make the request. | |||||
* ``swh_outbound_api_requests_total``: total number of requests | |||||
* ``swh_outbound_api_responses_total``: total number of responses (excluding low-level failures: DNS, TCP, TLS, ...), with ``http_status`` label | |||||
* ``swh_outbound_api_remaining_requests``: gauge of the value of ``X-Ratelimit-Remaining`` | |||||
* ``swh_outbound_api_reset_seconds``: gauge of the value of ``X-Ratelimit-Reset`` | |||||
* ``swh_outbound_api_rate_limited_responses_total`` | |||||
ardumont: you missed the description for that one
but otherwise, great, thx. | |||||
vlorentzAuthorUnsubmitted Done Inline Actionsthe name is self-explanatory, I don't see a better way to describe it vlorentz: the name is self-explanatory, I don't see a better way to describe it | |||||
* ``swh_outbound_api_sleep_seconds_total``: number of seconds spent waiting for rate limits to reset | |||||
.. _swh_statsd_metrics_provenance: | .. _swh_statsd_metrics_provenance: | ||||
Provenance | Provenance | ||||
---------- | ---------- | ||||
* ``swh_provenance_archive_direct_duration_seconds_bucket`` | * ``swh_provenance_archive_direct_duration_seconds_bucket`` | ||||
* ``swh_provenance_archive_direct_duration_seconds_count`` | * ``swh_provenance_archive_direct_duration_seconds_count`` | ||||
* ``swh_provenance_archive_direct_duration_seconds_error_count`` | * ``swh_provenance_archive_direct_duration_seconds_error_count`` | ||||
▲ Show 20 Lines • Show All 152 Lines • Show Last 20 Lines |
you missed the description for that one
but otherwise, great, thx.