debian-mirror-gitlab/lib/gitlab/metrics/dashboard/validator/schemas/panel.json

25 lines
651 B
JSON
Raw Normal View History

2020-10-24 23:57:45 +05:30
{
"type": "object",
"required": ["title", "metrics"],
"properties": {
"type": {
"type": "string",
2020-11-24 15:15:51 +05:30
"enum": ["area-chart", "line-chart", "anomaly-chart", "bar", "column", "stacked-column", "single-stat", "heatmap", "gauge"],
2020-10-24 23:57:45 +05:30
"default": "area-chart"
},
"title": { "type": "string" },
"y_label": { "type": "string" },
"y_axis": { "$ref": "./axis.json" },
"max_value": { "type": "number" },
"weight": { "type": "number" },
"metrics": {
"type": "array",
"items": { "$ref": "./metric.json" }
},
"links": {
"type": "array",
"items": { "$ref": "./link.json" }
}
}
}