This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/java-agent/instrumentation/resources.md.

Resource Detectors

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

OptionTypeDefaultDescription
otel.instrumentation.resources.experimental.process-command-attributes.enabledbooleanfalseEnables capture of process command-line resource attributes when v3 preview suppresses them by default.

Data

  • JSON: /data/javaagent/instrumentations/resources/resources-50906983ec73.json
  • Explore: /java-agent/instrumentation/resources