Agent fetching resources usage and API
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 3
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
⚠ subissue for coder/coder #15746
Disk and memory usage are fetched from the agents. On the other hand, the processing and triggering of notifications is done on the Control Plane side (Coderd) - meaning that we need to modify the AgentAPI to include a new method, pushing these data.
Parts of the ticket are to :
Create a new ticker that will be initialised when agent starts
At each tick, fetch the resources used
If enough points have been fetched - use the AgentAPI to push the datapoints to the CP.
No logic of debouncing or processing is done on the Agent side, which keeps it very simple.
This tickets scope ends when the agent is fully modified, also the AgentAPI and the CP has a method receiving the data, even without doing anything from it.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia dall’avvio dell’agente e dal confine di AgentAPI descritto nell’issue, quindi traccia il modo in cui Coderd riceve i dati dell’agente. Il lavoro è completato quando l’agente recupera periodicamente l’utilizzo del disco e della memoria, invia datapoint dopo averne raccolti abbastanza e AgentAPI e Control Plane dispongono di un metodo di ricezione senza logica di elaborazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- backend-api-design
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100