-
Notifications
You must be signed in to change notification settings - Fork 390
/
cfgm_cpuinfo.sandesh
62 lines (55 loc) · 1.96 KB
/
cfgm_cpuinfo.sandesh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//
// cfgm_cpuinfo.sandesh
//
// Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
//
include "base/sandesh/cpuinfo.sandesh"
include "base/sandesh/process_info.sandesh"
struct ModuleCpuInfo {
1: string module_id
2: cpuinfo.CpuLoadInfo cpu_info
3: string instance_id
}
// This struct is part of the Config None UVE.
// (key is hostname of the Config Node)
// This part of the UVE externally refers to cpu-stats of all modules
// that belong to this Analytics node.
// - ApiServer, Schema Transformer and ServiceMonitor will update this p
// eriodically.
//
struct ModuleCpuState {
1: string name (key="ObjectConfigNode")
2: optional bool deleted
3: optional list<ModuleCpuInfo> module_cpu_info (aggtype="union")
4: optional string build_info
5: optional list<string> config_node_ip
}
uve sandesh ModuleCpuStateTrace {
1: ModuleCpuState data
}
struct ConfigCpuState {
1: string name (key="ObjectConfigNode")
2: optional bool deleted
3: optional list<cpuinfo.ProcessCpuInfo> cpu_info (tags=".module_id,.mem_virt,.cpu_share,.mem_res",aggtype="union")
}
uve sandesh ConfigCpuStateTrace {
1: ConfigCpuState data
}
struct NodeStatus {
1: string name (key="ObjectConfigNode")
2: optional bool deleted
3: optional string status
// Sent by process
4: optional list<process_info.ProcessStatus> process_status (aggtype="union")
// Sent by node manager
5: optional list<process_info.ProcessInfo> process_info (aggtype="union")
6: optional list<process_info.DiskPartitionUsageStats> disk_usage_info (tags="")
7: optional string description
8: optional list<string> all_core_file_list
10: optional list<cpuinfo.ProcessCpuInfo> process_mem_cpu_usage (aggtype="union")
11: optional cpuinfo.SystemMemCpuUsage system_mem_cpu_usage
12: optional cpuinfo.SystemCpuInfo system_cpu_info
}
uve sandesh NodeStatusUVE {
1: NodeStatus data
}