Class SystemController

Assembly: redb.Tsak.Core.dll

System-level endpoints: health, metrics, info.
GET /api/system/health — health check
GET /api/system/metrics — latest metrics snapshot
GET /api/system/info — version, uptime, etc.

[Route("/api/system")]
public class SystemController : RedbController

Inheritance

Object→RedbController→SystemController

Inherited Members

Methods

GetAssemblies()

The assemblies actually loaded in the process — name, version, and where each came from

[HttpGet("/assemblies")]
[RequiresRole(new string[] { "admin" })]
public object GetAssemblies()

GetConfig()

Effective (merged, resolved) configuration for this node — the Tsak: and

[HttpGet("/config")]
[RequiresRole(new string[] { "admin" })]
public object GetConfig()

GetHealth()

[HttpGet("/health")]
public Task<object> GetHealth()

GetInfo()

[HttpGet("/info")]
public object GetInfo()

GetMetrics()

[HttpGet("/metrics")]
public object GetMetrics()

GetMetricsHistory(int?)

[HttpGet("/metrics/history")]
public object GetMetricsHistory(int? minutesParam)