generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Description
We required additional Sysdig metrics beyond the default set generated by the Sysdig agent. Specifically, we needed:
Metrics:
sysdig_container_net_http_url_request_count
sysdig_container_net_http_url_request_time
sysdig_container_net_http_url_error_count
We identified that these metrics are only produced when the agent’s feature mode is set to troubleshooting (they are not available in the default mode), as documented by Sysdig.
After manually updating the ConfigMap and setting:
feature:
mode: troubleshooting
the above metrics were successfully generated.
To support this capability in our deployment, we need to update the dragent.yaml ConfigMap to include the agent mode as a configurable input, allowing users to choose the mode they want the agent to run in.
New or affected modules
Update the sysdig agent configmap to support a user-provided variable for configuring the agent mode.