Skip to content

Commit a222bf5

Browse files
Document 'feedback' parameters (#4422)
1 parent a0d62b1 commit a222bf5

File tree

1 file changed

+108
-0
lines changed

1 file changed

+108
-0
lines changed

doc/reference/configuration/configuration_reference.rst

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,6 +1671,114 @@ See also: :ref:`supervised_failover_overview_fault_tolerance`
16711671
| Default: 2
16721672
| Environment variable: TT_FAILOVER_STATEBOARD_RENEW_INTERVAL
16731673
1674+
.. _configuration_reference_feedback:
1675+
1676+
feedback
1677+
--------
1678+
1679+
The ``feedback`` section describes configuration parameters for sending information about a running Tarantool instance to the specified feedback server.
1680+
1681+
.. NOTE::
1682+
1683+
``feedback`` can be defined in any :ref:`scope <configuration_scopes>`.
1684+
1685+
* :ref:`feedback.crashinfo <configuration_reference_feedback_crashinfo>`
1686+
* :ref:`feedback.enabled <configuration_reference_feedback_enabled>`
1687+
* :ref:`feedback.host <configuration_reference_feedback_host>`
1688+
* :ref:`feedback.interval <configuration_reference_feedback_interval>`
1689+
* :ref:`feedback.metrics_collect_interval <configuration_reference_feedback_metrics_collect_interval>`
1690+
* :ref:`feedback.metrics_limit <configuration_reference_feedback_metrics_limit>`
1691+
* :ref:`feedback.send_metrics <configuration_reference_feedback_send_metrics>`
1692+
1693+
.. _configuration_reference_feedback_crashinfo:
1694+
1695+
.. confval:: feedback.crashinfo
1696+
1697+
Whether to send crash information in the case of an instance failure.
1698+
This information includes:
1699+
1700+
- General information from the ``uname`` output.
1701+
- Build information.
1702+
- The crash reason.
1703+
- The stack trace.
1704+
1705+
To turn off sending crash information, set this option to ``false``.
1706+
1707+
|
1708+
| Type: boolean
1709+
| Default: true
1710+
| Environment variable: TT_FEEDBACK_CRASHINFO
1711+
1712+
.. _configuration_reference_feedback_enabled:
1713+
1714+
.. confval:: feedback.enabled
1715+
1716+
Whether to send information about a running instance to the feedback server.
1717+
To turn off sending feedback, set this option to ``false``.
1718+
1719+
|
1720+
| Type: boolean
1721+
| Default: true
1722+
| Environment variable: TT_FEEDBACK_ENABLED
1723+
1724+
.. _configuration_reference_feedback_host:
1725+
1726+
.. confval:: feedback.host
1727+
1728+
The address to which information is sent.
1729+
1730+
|
1731+
| Type: string
1732+
| Default: https://feedback.tarantool.io
1733+
| Environment variable: TT_FEEDBACK_HOST
1734+
1735+
.. _configuration_reference_feedback_interval:
1736+
1737+
.. confval:: feedback.interval
1738+
1739+
The interval (in seconds) of sending information.
1740+
1741+
|
1742+
| Type: number
1743+
| Default: 3600
1744+
| Environment variable: TT_FEEDBACK_INTERVAL
1745+
1746+
.. _configuration_reference_feedback_metrics_collect_interval:
1747+
1748+
.. confval:: feedback.metrics_collect_interval
1749+
1750+
The interval (in seconds) for collecting metrics.
1751+
1752+
|
1753+
| Type: number
1754+
| Default: 60
1755+
| Environment variable: TT_FEEDBACK_METRICS_COLLECT_INTERVAL
1756+
1757+
.. _configuration_reference_feedback_metrics_limit:
1758+
1759+
.. confval:: feedback.metrics_limit
1760+
1761+
The maximum size of memory (in bytes) used to store metrics before sending them to the feedback server.
1762+
If the size of collected metrics exceeds this value, earlier metrics are dropped.
1763+
1764+
|
1765+
| Type: integer
1766+
| Default: 1024 * 1024 (1048576)
1767+
| Environment variable: TT_FEEDBACK_METRICS_LIMIT
1768+
1769+
.. _configuration_reference_feedback_send_metrics:
1770+
1771+
.. confval:: feedback.send_metrics
1772+
1773+
Whether to send :ref:`metrics <monitoring>` to the feedback server.
1774+
Note that all collected metrics are dropped after sending them to the feedback server.
1775+
1776+
|
1777+
| Type: boolean
1778+
| Default: true
1779+
| Environment variable: TT_FEEDBACK_SEND_METRICS
1780+
1781+
16741782
.. _configuration_reference_fiber:
16751783

16761784
fiber

0 commit comments

Comments
 (0)