Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Collect component stdout logs with a filelog receiver

Aperta
#1,741 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
google-cloud, kubernetes

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area/observability kind/feature

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/pods in the kind manifests.
  • That means a DaemonSet collector. The current one is a Deployment with no hostPath.
  • k8sattributes on the logs pipeline, so records get pod and node. Associate on k8s.pod.uid from the path.

Gotchas

  • Set severity parsing explicitly.
  • trace_id, span_id and trace_flags are already top level lowercase hex, so trace_parser maps them with no extra work.
  • ateom wraps actor output with the ate.* keys in a nested group, and the key name differs by environment: labels on kind, logging.googleapis.com/labels on 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-system out of the include globs, or drop records whose scope is github.com/agent-substrate/substrate/internal/actorevent.

cc @JeffLuoo

Lingua principale
Go
Stelle
5k
Fork
563
Merge medio
2g 12h
PR unite (30g)
458

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di agent-substrate/substrate

Tutte le issue di agent-substrate/substrate

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.