Auto-Instrumentation (AutoI) provides workload discovery, application instrumentation, and telemetry processing for Kubernetes-based workloads.
Use this section after the initial AI environment onboarding to configure or tune individual capabilities without repeating the complete onboarding workflow.
The settings and examples in this section apply to AutoI Helm chart 26.1.0. Confirm the AutoI version selected during onboarding and verify its supported Kubernetes, operating system, kernel, container runtime, and workload versions before applying version-specific settings.
How AutoI works
AutoI deploys the following primary components:
- radiance: Discovers workloads and manages instrumentation admission.
- Radiance Core: Runs as a single replica, discovers workloads, and coordinates workload restarts when required.
- eworker: Runs on each eligible node and performs instrumentation and telemetry processing.
AutoI features are independently configurable. Installing the Helm chart does not automatically instrument every workload or enable every telemetry type.
Deployment topology
Radiance manages instrumentation admission across the cluster. A single Radiance Core instance discovers workloads and coordinates rollout restarts. An eworker runs on each eligible node to instrument workloads and process telemetry. Namespace and workload policies determine which workloads are in scope.
What AutoI can collect
Depending on configuration, AutoI can provide:
- Application traces and span-derived RED (Rate, Errors, and Duration) metrics
- Spans and execution attributes
- Kubernetes inventory and object metrics
- Kubelet resource statistics
- Prometheus exporter metrics
- AI cluster, GPU, model-serving, and RDMA telemetry
- Pod and node logs
- eBPF workload network telemetry
- Locally retained metrics and evaluated recording or alerting rules
Configuration model
AutoI configuration can include several layers:
- Helm values enable components and provide identity, endpoint, runtime, and feature settings.
- CustomResourceDefinitions (CRDs) define the supported AutoI resource types.
- Cluster policies select eligible namespaces and define shared behavior.
- Namespace policies enable instrumentation for workload types in a namespace.
- Workload overrides modify behavior for individual workloads or containers.
- Monitor and pipeline resources configure Prometheus scraping, logs, network selection, and rules.
A CRD’s presence does not mean that a feature is enabled or that a corresponding custom resource exists.
Before you configure AutoI
- Confirm the installed AutoI chart version.
- Preserve the identity, integration, endpoint, and runtime values generated during onboarding.
- Maintain a complete approved values file containing all enabled options.
- Inspect existing custom resources before creating or editing resources.
- Avoid duplicate cluster, namespace, log, monitor, or network policies.
- Review resource requests, limits, node scheduling, host mounts, and security requirements.
- Review collection of logs, prompts, span attributes, and other potentially sensitive data.
Permissions and policy configuration
Before enabling AutoI instrumentation, ensure that the required Kubernetes permissions and policies are configured.
1. Required Kubernetes permissions
The AutoI service account requires the following permissions to manage workload instrumentation:
| Resource | Required Permission | Purpose |
|---|---|---|
| Pods | Patch | Configure newly created Pods for instrumentation through the admission workflow. |
| Pods | Delete | Restart workloads when required to apply instrumentation changes. |
| Supported workload resources | Patch | Apply instrumentation-related changes to workload specifications. |
Info
Grant these permissions only to the AutoI service account and restrict them to the required installation scope. Obtain approval from your Kubernetes or platform administrator before applying the permissions.2. Configure AutoI Instrumentation policies
AutoI uses two policy resources to determine which namespaces and workloads are eligible for instrumentation.
| Policy | Scope | Configuration |
|---|---|---|
WaveClusterAutoInstrumentationPolicy (wcai-pol) | Cluster-level | Defines the namespaces eligible for instrumentation and cluster-wide defaults. |
WaveAutoInstrumentationPolicy (wai-pol) | Namespace-level | Enables instrumentation for a namespace and defines workload-level defaults. |
Cluster-level policy
Create the WaveClusterAutoInstrumentationPolicy (wcai-pol) only in
the AutoI release namespace.
Although the CRD is namespaced, AutoI uses the policy instance in its own release namespace as the cluster-wide policy.
Configure the following fields to define namespace eligibility:
spec.namespaceScoping.include: Namespaces eligible for instrumentation.spec.namespaceScoping.exclude: Namespaces excluded from instrumentation.
Namespace-level policy
Create a WaveAutoInstrumentationPolicy (wai-pol) in each namespace
that requires instrumentation.
Set spec.enableNamespace: true to enable instrumentation for that
namespace. Configure autoInstrumentWorkloads to specify the workload
kinds eligible for automatic instrumentation, such as Deployments,
StatefulSets, DaemonSets, Jobs, and CronJobs.
3. How AutoI determines Instrumentation eligibility
A workload is eligible for automatic instrumentation when all applicable conditions are met:
- The namespace is included in the cluster-level policy and is not excluded.
- The namespace-level policy enables instrumentation using
spec.enableNamespace: true. - The workload kind is included in the applicable
autoInstrumentWorkloadsconfiguration.
Workload-specific settings can further customize instrumentation behavior.
Configuration example
| Configuration Level | Example | Purpose |
|---|---|---|
| Cluster | Include production and staging namespaces. | Defines the namespace scope. |
| Namespace | spec.enableNamespace: true | Enables instrumentation in the namespace. |
| Workload | autoInstrumentWorkloads: [Deployment, StatefulSet] | Enables automatic instrumentation for the selected workload kinds. |
Supported container
AutoI supports the following container runtimes:
- CRI-O
- containerd
- Docker.
Namespace conventions used in examples
The configuration examples use:
opsramp-autoias the AutoI release namespaceteam-aas the application workload namespace
Replace these values with the namespaces used in your environment. The AutoI release namespace is different from the onboarding utility’s ai-onboarding namespace.
Configuration order
- Install AutoI and establish its CRDs.
- Inspect the generated Helm values and existing custom resources.
- Enable the required Helm feature flags.
- Apply or update the related custom resources.
- Generate representative workload activity.
- Verify actual telemetry in OpsRamp.
Do not enable chart-rendered optional custom resources during the initial installation unless their required CRDs already exist.
Related topics
- Instrument AI applications
- Configure application telemetry
- Configure Kubernetes and infrastructure metrics
- Configure AI and model telemetry
- Configure logs
- Configure alerts and health monitoring