Skip to content

Commit 760b905

Browse files
committed
gen doc
1 parent bfe8f56 commit 760b905

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/resources/agent.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -125,21 +125,22 @@ Optional:
125125
Optional:
126126

127127
- `memory` (Block Set) The memory monitoring configuration for this agent. (see [below for nested schema](#nestedblock--resources_monitoring--memory))
128-
- `volumes` (Block Set) The volumes monitoring configuration for this agent. (see [below for nested schema](#nestedblock--resources_monitoring--volumes))
128+
- `volume` (Block Set) The volumes monitoring configuration for this agent. (see [below for nested schema](#nestedblock--resources_monitoring--volume))
129129

130130
<a id="nestedblock--resources_monitoring--memory"></a>
131131
### Nested Schema for `resources_monitoring.memory`
132132

133-
Optional:
133+
Required:
134134

135135
- `enabled` (Boolean) Enable memory monitoring for this agent.
136136
- `threshold` (Number) The memory usage threshold in percentage at which to trigger an alert. Value should be between 0 and 100.
137137

138138

139-
<a id="nestedblock--resources_monitoring--volumes"></a>
140-
### Nested Schema for `resources_monitoring.volumes`
139+
<a id="nestedblock--resources_monitoring--volume"></a>
140+
### Nested Schema for `resources_monitoring.volume`
141141

142-
Optional:
142+
Required:
143143

144144
- `enabled` (Boolean) Enable volume monitoring for this agent.
145+
- `path` (String) The path of the volume to monitor.
145146
- `threshold` (Number) The volume usage threshold in percentage at which to trigger an alert. Value should be between 0 and 100.

0 commit comments

Comments
 (0)