# Resource Detectors

<!-- llms-txt-link: /llms.txt -->

> OpenTelemetry Java agent instrumentation

This instrumentation automatically detects and populates OpenTelemetry resource attributes for the host, OS, process, and container environment. It does not emit any telemetry on its own.

- **Name**: `resources`
- **Scope**: `io.opentelemetry.resources`

## Configuration

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `otel.instrumentation.resources.experimental.process-command-attributes.enabled` | boolean | false | Enables capture of process command-line resource attributes when v3 preview suppresses them by default. |

## Data

- **JSON**: [/data/javaagent/instrumentations/resources/resources-50906983ec73.json](/data/javaagent/instrumentations/resources/resources-50906983ec73.json)
- **Explore**: [/java-agent/instrumentation/resources](/java-agent/instrumentation/resources)
