Agente de Java

La instrumentación sin código con Java utiliza un JAR de agente de Java adjunto a cualquier aplicación Java 8 o superior. Inyecta bytecode de forma dinámica para capturar telemetría de muchas librerías y marcos populares. Se puede utilizar para capturar datos de telemetría en los «extremos» de una aplicación o servicio, como solicitudes entrantes, llamadas HTTP salientes, llamadas a bases de datos, etc. Para aprender a instrumentar manualmente el código de tu servicio o aplicación, consulta Instrumentación manual.


Getting started

Configuration

Java Agent Declarative configuration

Supported Libraries

Suppressing specific instrumentation

Annotations

Using instrumentation annotations with a Java agent.

Extending instrumentations with the API

Use the OpenTelemetry API in combination with the Java agent to extend the automatically generated telemetry with custom spans and metrics

Instrumentation configuration

Application server configuration

Learn how to define agent paths for Java application servers

Extensions

Extensions add capabilities to the agent without having to create a separate distribution.

Performance

Performance reference for the OpenTelemetry Java agent