/workspaces/astro/sol3-sdk/msg/sol3/process_manager/msg/process_manager_telemetry.fbs File Reference

Space-ng SDK: /workspaces/astro/sol3-sdk/msg/sol3/process_manager/msg/process_manager_telemetry.fbs File Reference
Space-ng SDK
process_manager_telemetry.fbs File Reference

Enumerations

enum  ProcessState : uint8 {
  NotStarted , FailedToStart , Running , Stopping ,
  Stopped
}
 Current execution state of a managed process. More...
 

Variables

include sol3 core msg stamp fbs
 
enum ProcessState Exited
 Reason why a process stopped (only meaningful when ProcessState is Stopped). More...
 
enum ProcessState SigTerm
 Process was terminated via SIGTERM. More...
 
enum ProcessState SigKill
 Process was forcefully killed via SIGKILL after failing to respond to SIGTERM. More...
 
enum ProcessState string
 Telemetry data for a single managed process. More...
 
state __pad0__
 Current execution state of the process. More...
 
start_stamp __pad1__
 Timestamp when the process was last started. Null if process has never been run. More...
 
current_pid __pad2__
 Process ID (PID) of the running process. Only meaningful if state is Running or Stopping. More...
 
exit_code __pad3__
 Exit code returned by the process. Only meaningful if state is Stopped. More...
 
stop_reason __pad4__
 Reason the process stopped. Only meaningful if state is Stopped. More...
 
stop_stamp __pad5__
 Timestamp when the process was last stopped. Only set if state is Stopped. More...
 
lifecycle_managed __pad6__
 Whether or not the process lifecycle is being managed automatically (auto-restart enabled). More...
 
restart_count __pad7__
 Number of restarts since the last clean start. More...
 
table ProcessManagerTelemetry
 Telemetry message containing status information for all managed processes. More...
 
file_identifier PMTM
 

Enumeration Type Documentation

◆ ProcessState

enum ProcessState : uint8

Current execution state of a managed process.

Enumerator
NotStarted 

Process has not been started yet.

FailedToStart 

Process failed to start (e.g., executable not found or exec failed).

Running 

Process is currently running.

Stopping 

Process is in the process of stopping (SIGTERM sent, waiting for exit or kill timeout).

Stopped 

Process has stopped and is no longer running.

Variable Documentation

◆ __pad0__

state __pad0__

Current execution state of the process.

◆ __pad1__

start_stamp __pad1__

Timestamp when the process was last started. Null if process has never been run.

◆ __pad2__

current_pid __pad2__

Process ID (PID) of the running process. Only meaningful if state is Running or Stopping.

◆ __pad3__

exit_code __pad3__

Exit code returned by the process. Only meaningful if state is Stopped.

◆ __pad4__

stop_reason __pad4__

Reason the process stopped. Only meaningful if state is Stopped.

◆ __pad5__

stop_stamp __pad5__

Timestamp when the process was last stopped. Only set if state is Stopped.

◆ __pad6__

lifecycle_managed __pad6__

Whether or not the process lifecycle is being managed automatically (auto-restart enabled).

◆ __pad7__

restart_count __pad7__

Number of restarts since the last clean start.

◆ Exited

enum ProcessState Exited

Reason why a process stopped (only meaningful when ProcessState is Stopped).

Process exited on its own (not killed by ProcessManager).

◆ fbs

include sol3 core msg stamp fbs

◆ PMTM

file_identifier PMTM

◆ ProcessManagerTelemetry

root_type ProcessManagerTelemetry
Initial value:
{
processes: [ProcessTelemetry] (native_inline)

Telemetry message containing status information for all managed processes.

◆ SigKill

enum ProcessState SigKill

Process was forcefully killed via SIGKILL after failing to respond to SIGTERM.

◆ SigTerm

enum ProcessState SigTerm

Process was terminated via SIGTERM.

◆ string

enum ProcessState string

Telemetry data for a single managed process.

Name of the process as specified in configuration.