Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

No structured payload logging

Abierto
#1,221 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
18/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java

Línea de trabajo

The payload names only the gen_ai.agent.a2a.request and gen_ai.agent.a2a.response span attributes, enabled by a system property, so start by finding where those attributes are set in the request and response path. The issue does not settle which logging API to use, which events to emit, or how masking should be configured, so this needs a design decision before any code. Done means the agreed events are emitted with truncation and trace correlation, backed by tests.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

There is no structured logging of A2A protocol message payloads. The only option is an opt-in toString() on span attributes, which is not a proper logging mechanism.
Current Behavior

a2a-java has gen_ai.agent.a2a.request / gen_ai.agent.a2a.response span attributes (enabled via system property), but these are span attributes, not structured logs.
There is no structured log event for task requests, state changes, result artifacts, negotiation payloads, authorization decisions, or notification deliveries.
No payload size truncation or sensitive data masking is provided.

Expected Behavior

Provide structured log events (at DEBUG level by default) for key protocol messages: task requests, state changes, result artifacts, negotiation payloads, authorization decisions, notification subscriptions and deliveries.
Include configurable payload size truncation (default 4KB) with [truncated] marker.
Provide sensitive data masking with customizable strategies.
Logs should be correlated to traces via trace_id / span_id.

Impact

Cannot inspect actual message payloads when debugging issues.
No audit trail of authorization decisions or negotiation content.
Cannot correlate log entries to traces for root-cause analysis.
The toString() approach is not suitable for production use (no truncation, no masking, no structured fields).

cf Issue #1132

Lenguaje dominante
Java
Estrellas
505
Forks
185
Merge medio
1 d 7 h
PR fusionados (30 d)
25

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de a2aproject/a2a-java

Todos los issues de a2aproject/a2a-java

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.