mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
@@ -14,8 +14,8 @@ version_added: 2.1.0
|
||||
description:
|
||||
- The C(statsd) module sends metrics to StatsD.
|
||||
- For more information, see U(https://statsd-metrics.readthedocs.io/en/latest/).
|
||||
- Supported metric types are C(counter) and C(gauge).
|
||||
Currently unupported metric types are C(timer), C(set), and C(gaugedelta).
|
||||
- Supported metric types are V(counter) and V(gauge).
|
||||
Currently unupported metric types are V(timer), V(set), and V(gaugedelta).
|
||||
author: "Mark Mercado (@mamercad)"
|
||||
requirements:
|
||||
- statsd
|
||||
@@ -30,7 +30,7 @@ options:
|
||||
state:
|
||||
type: str
|
||||
description:
|
||||
- State of the check, only C(present) makes sense.
|
||||
- State of the check, only V(present) makes sense.
|
||||
choices: ["present"]
|
||||
default: present
|
||||
host:
|
||||
@@ -42,7 +42,7 @@ options:
|
||||
type: int
|
||||
default: 8125
|
||||
description:
|
||||
- The port on C(host) which StatsD is listening on.
|
||||
- The port on O(host) which StatsD is listening on.
|
||||
protocol:
|
||||
type: str
|
||||
default: udp
|
||||
@@ -53,7 +53,7 @@ options:
|
||||
type: float
|
||||
default: 1.0
|
||||
description:
|
||||
- Sender timeout, only applicable if C(protocol) is C(tcp).
|
||||
- Sender timeout, only applicable if O(protocol) is V(tcp).
|
||||
metric:
|
||||
type: str
|
||||
required: true
|
||||
@@ -79,7 +79,7 @@ options:
|
||||
type: bool
|
||||
default: false
|
||||
description:
|
||||
- If the metric is of type C(gauge), change the value by C(delta).
|
||||
- If the metric is of type V(gauge), change the value by O(delta).
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
||||
Reference in New Issue
Block a user