Welcome to mirror list, hosted at ThFree Co, Russian Federation.

metric.json « schemas « validator « dashboard « metrics « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 13831b77e3e1c9b6b786c8f8f056e670f52c3f33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
	"type": "object",
	"required": ["unit"],
	"oneOf": [{ "required": ["query"] }, { "required": ["query_range"] }],
	"properties": {
		"id": {
			"type": "string",
			"format": "add_to_metric_id_cache"
		 },
		"unit": { "type": "string" },
		"label": { "type": "string" },
		"query": { "type": ["string", "number"] },
		"query_range": { "type": ["string", "number"] },
		"step": { "type": "number" }
	}
}