debian-mirror-gitlab/config/metrics/objects_schemas/topology_schema.json
2021-10-27 15:23:28 +05:30

44 lines
2.3 KiB
JSON

{
"type": "object",
"required": ["duration_s", "failures"],
"properties": {
"duration_s": { "type": "number", "description": "The time it took to collect topology data" },
"failures": { "type": "array", "description": "The information about failed queries" },
"application_requests_per_hour": { "type": "number", "description": "The number of requests to the web application per hour" },
"nodes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node_cpus": { "type": "number", "description": "The number of CPU cores of this node" },
"node_cpu_utilization": { "type": "number", "description": "The CPU utilization ratio of this node" },
"node_memory_total_bytes": { "type": "number", "description": "The total available memory of this node" },
"node_memory_utilization": { "type": "number", "description": "The memory utilization ratio of this node" },
"node_services": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string", "description": "The name of the GitLab service running on this node" },
"server": { "type": "string", "description": "The type of web server used (Puma only from 14.0)" },
"process_count": { "type": "number", "description": "The number of processes running for this service" },
"process_memory_rss": { "type": "number", "description": "The average Resident Set Size of a service process" },
"process_memory_uss": { "type": "number", "description": "The average Unique Set Size of a service process" },
"process_memory_pss": { "type": "number", "description": "The average Proportional Set Size of a service proces" }
}
}
},
"node_uname_info": {
"type": "object",
"properties": {
"machine": { "type": "string", "description": "The machine hardware name of this node" },
"release": { "type": "string", "description": "The operating system release of this node" },
"sysname": { "type": "string", "description": "The operating system name of this node" }
}
}
}
}
}
}
}