Collect component stdout logs with a filelog receiver
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- google-cloud, kubernetes
Línea de trabajo
Start by inspecting the kind manifests and the existing collector Deployment, then trace its logs pipeline configuration. Verify how /var/log/pods, the DaemonSet, k8sattributes, severity parsing, actor labels, and duplicate ateapi events are handled. Done means component logs can be searched across pods and time without losing actor metadata or duplicating lifecycle events.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Every ate component writes structured JSON logs to stdout: ateapi, atelet, atecontroller, atenet, ateom, podcertcontroller. Today kubectl logs is the only way to read them, so there's no way to search across components or across time.
Came out of the discussion on #1683.
What we need
- An optional filelog receiver over
/var/log/podsin the kind manifests. - That means a DaemonSet collector. The current one is a Deployment with no hostPath.
k8sattributeson the logs pipeline, so records get pod and node. Associate onk8s.pod.uidfrom the path.
Gotchas
- Set severity parsing explicitly.
trace_id,span_idandtrace_flagsare already top level lowercase hex, sotrace_parsermaps them with no extra work.- ateom wraps actor output with the
ate.*keys in a nested group, and the key name differs by environment:labelson kind,logging.googleapis.com/labelson GKE. Handle both or we silently lose every actor on one of them. - ateapi also sends its two lifecycle events over OTLP (#1658), so those would arrive twice. Either leave
ate-systemout of the include globs, or drop records whose scope isgithub.com/agent-substrate/substrate/internal/actorevent.
cc @JeffLuoo
- Lenguaje dominante
- Go
- Estrellas
- 4k
- Forks
- 473
- Merge medio
- 2 d 5 h
- PR fusionados (30 d)
- 257
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de agent-substrate/substrate
-
Fix broken Code of Conduct linksAbiertokind/docs prio/P2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
agent-substrate/substrate#1986 ·
Los mantenedores suelen responder en 1 día
-
area/dev-infra area/microVM kind/feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
agent-substrate/substrate#1826 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area/demos good first issue kind/docs prio/P2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
agent-substrate/substrate#1792 ·
Los mantenedores suelen responder en 1 día
-
area/benchmarking kind/feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
agent-substrate/substrate#1750 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
atelet: no checkpoint timing breakdown log, so suspend has no stage attribution without OTelAbiertoarea/node area/observability good first issue kind/feature prio/P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
agent-substrate/substrate#1647 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de agent-substrate/substrate
Issues similares
-
[Docs] - Document minimum Terraform/OpenTofu version (>= 1.11) required by write-only argumentsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
MagaluCloud/terraform-provider-mgc#323 ·
Los mantenedores suelen responder en 11 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
rossoctl/context-guru#366 ·
Los mantenedores suelen responder en 1 día
-
stage-fail
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
siyuan-note/bazaar#2293 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
piraeusdatastore/piraeus-operator#1070 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día