Settings API - Container monitoring rules schema table

Container monitoring rules (builtin:container.monitoring-rule)

Within container environments, OneAgent automatically injects code modules into containerized processes to provide out of the box full-stack visibility into applications running within containers. Dynatrace provides complete control over automatic injection of code modules into the container technologies.

In Kubernetes, container monitoring rules are evaluated only in case of classicFullStack injection mode. The rules are ignored in case of cloudNativeFullStack or applicationMonitoring.

Please use the annotation-based configuration option as described here.

Schema ID
Schema groups
Scope
builtin:container.monitoring-rule
  • group:processes-and-containers.containers
  • group:processes-and-containers
environment
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:container.monitoring-rule
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:container.monitoring-rule
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:container.monitoring-rule

Authentication

To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

Property
Type
Description
Required
Enabled
enabled
boolean
-
required
Mode
mode
enum
  • MONITORING_OFF
  • MONITORING_ON
required
Container property
property
enum
  • CONTAINER_NAME
  • IMAGE_NAME
  • KUBERNETES_NAMESPACE
  • KUBERNETES_CONTAINERNAME
  • KUBERNETES_BASEPODNAME
  • KUBERNETES_FULLPODNAME
  • KUBERNETES_PODUID
required
Condition operator
operator
enum
  • STARTS
  • NOT_STARTS
  • ENDS
  • NOT_ENDS
  • CONTAINS
  • NOT_CONTAINS
  • EQUALS
  • NOT_EQUALS
  • EXISTS
  • NOT_EXISTS
required
Condition value
value
text
-
required