Commit e0a2e1d
feat: expose Sysdig agent mode as configurable input variable
Add agent_mode variable to allow users to configure the operational mode
of the Sysdig agent. This addresses GitHub issue #263 where users need to
set the agent to 'troubleshooting' mode to access additional metrics.
The agent_mode variable accepts:
- 'monitor': Standard monitoring mode
- 'monitor_light': Lightweight monitoring mode
- 'troubleshooting': Enhanced mode with additional metrics like HTTP request
metrics (sysdig_container_net_http_url_request_count,
sysdig_container_net_http_url_request_time,
sysdig_container_net_http_url_error_count)
- null: Use the agent's default mode (default value)
Changes:
- Add agent_mode string variable with validation in variables.tf
- Configure feature mode in agent.sysdig.settings in main.tf
- Add agent_mode to fully-configurable solution
- Update ibm_catalog.json with new variable entry
- Auto-generate documentation via pre-commit hooks
Fixes issue #2631 parent f669c3a commit e0a2e1d
File tree
6 files changed
+29
-0
lines changed- solutions/fully-configurable
6 files changed
+29
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
351 | 354 | | |
352 | 355 | | |
353 | 356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
355 | 365 | | |
356 | 366 | | |
357 | 367 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
360 | 370 | | |
361 | 371 | | |
362 | 372 | | |
| |||
0 commit comments