Skip to content

Commit

Permalink
Mention statsd with uWsgi
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Oct 10, 2024
1 parent 4d1ff77 commit 6ed8ac5
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docs/configuration/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -429,18 +429,31 @@ Requires the ``statsd`` package.
| kinto.statsd_prefix | ``kinto`` | The prefix to use when sending data to statsd. |
+------------------------+----------------------------------------+--------------------------------------------------------------------------+
| kinto.statsd_url | ``None`` | The fully qualified URL to use to connect to the statsd host. e.g. |
| | | ``udp://localhost:8125`` |
| | | ``udp://host:8125`` |
+------------------------+----------------------------------------+--------------------------------------------------------------------------+


StatsD metrics can be enabled with (disabled by default):

.. code-block:: ini
kinto.statsd_url = udp://localhost:8125
kinto.statsd_url = udp://host:8125
# kinto.statsd_prefix = kinto-prod
StatsD can also be enabled at the *uWSGI* level:

.. code-block:: ini
[uwsgi]
# ...
enable-metrics = true
plugin = dogstatsd
stats-push = dogstatsd:host:8125,kinto.{{ $deployment }}
Monitoring with New Relic
:::::::::::::::::::::::::

Expand Down

0 comments on commit 6ed8ac5

Please sign in to comment.