using System.Text.Json.Serialization;
namespace MoShiro.Measurement;
/// 节点本地配置里的 reporting 段(面板无法修改):Agent 和 Probe 共用。
public sealed class ReportingSection
{
/// 上报主机资源占用(CPU、内存、磁盘、流量、运行时长,只有汇总数字,没有型号和 IP)。设为 false 就一个字也不上报。
[JsonPropertyName("host_stats")]
public bool HostStats { get; set; } = true;
[JsonPropertyName("host_interval_s")]
public int HostIntervalSeconds { get; set; } = 2;
}