Revise zuul-launcher dashboards
This makes the following changes to the zuul-launcher dashboards: * Adds gauges that show current/max quota values for instances, cores, ram * Converts the template from YAML to JSON due to the complexity required for the gauges * Since it's not easy to template which quota values are present, two templates are provided: one with all 3, and another with only instances and ram (for rax) * Updates the test node history graph to stack (so that we can compare the total of building+ready+used+etc to the max line (the max line is not stacked) * Adds a 10% opaque background to all lines except max to make the stacking more apparent * Adds a "requested" node state (which is new in niz) * Removes the unused "deleted" singlestat and replaces it with "requested" Change-Id: I0d3f28d46fc4bf272bcd3246ce18476073220d73
This commit is contained in:
@@ -27,19 +27,24 @@ create OSUOSL 'osuosl-*' nodepool-osuosl.yaml
|
||||
create OpenMetal 'openmetal-*' nodepool-openmetal.yaml
|
||||
|
||||
function create_zuul {
|
||||
local provider="$1"
|
||||
local stat_list="$2"
|
||||
local output_file="$3"
|
||||
local template="$1"
|
||||
local provider="$2"
|
||||
local stat_list="$3"
|
||||
local output_file="$4"
|
||||
|
||||
sed -e "s/%PROVIDER%/${provider}/; " \
|
||||
-e "s/%STAT_LIST%/${stat_list}/" \
|
||||
-e "s/%OUTPUT_FILE%/${output_file}/" \
|
||||
zuul-launcher.template > ${output_file}
|
||||
-e "s/%TEMPLATE%/${template}/" \
|
||||
${template} > ${output_file}
|
||||
}
|
||||
|
||||
create_zuul Rackspace 'rax' zuul-launcher-rax.yaml
|
||||
create_zuul Rackspace-Flex 'raxflex' zuul-launcher-raxflex.yaml
|
||||
create_zuul OVH 'ovh' zuul-launcher-ovh.yaml
|
||||
create_zuul Vexxhost 'vexxhost' zuul-launcher-vexxhost.yaml
|
||||
create_zuul OSUOSL 'osuosl' zuul-launcher-osuosl.yaml
|
||||
create_zuul OpenMetal 'openmetal' zuul-launcher-openmetal.yaml
|
||||
# Templates vary depending on which resource limits are included:
|
||||
# zuul-launcher-ram-ir.template : instances, ram
|
||||
# zuul-launcher-ram-icr.template : instances, cores, ram
|
||||
|
||||
create_zuul zuul-launcher-ir.template Rackspace 'rax' zuul-launcher-rax.json
|
||||
create_zuul zuul-launcher-ir.template Rackspace-Flex 'raxflex' zuul-launcher-raxflex.json
|
||||
create_zuul zuul-launcher-icr.template OVH 'ovh' zuul-launcher-ovh.json
|
||||
create_zuul zuul-launcher-icr.template Vexxhost 'vexxhost' zuul-launcher-vexxhost.json
|
||||
create_zuul zuul-launcher-icr.template OSUOSL 'osuosl' zuul-launcher-osuosl.json
|
||||
create_zuul zuul-launcher-icr.template OpenMetal 'openmetal' zuul-launcher-openmetal.json
|
||||
|
753
grafana/zuul-launcher-icr.template
Normal file
753
grafana/zuul-launcher-icr.template
Normal file
@@ -0,0 +1,753 @@
|
||||
{
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"builtIn": 1,
|
||||
"datasource": {
|
||||
"type": "grafana",
|
||||
"uid": "-- Grafana --"
|
||||
},
|
||||
"enable": true,
|
||||
"hide": true,
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"name": "Annotations & Alerts",
|
||||
"type": "dashboard"
|
||||
}
|
||||
]
|
||||
},
|
||||
"editable": true,
|
||||
"fiscalYearStartMonth": 0,
|
||||
"graphTooltip": 0,
|
||||
"id": 28,
|
||||
"links": [],
|
||||
"panels": [
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"id": 2,
|
||||
"panels": [],
|
||||
"title": "Description",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 1
|
||||
},
|
||||
"id": 1,
|
||||
"options": {
|
||||
"code": {
|
||||
"language": "plaintext",
|
||||
"showLineNumbers": false,
|
||||
"showMiniMap": false
|
||||
},
|
||||
"content": "%PROVIDER% Zuul-Launcher Status\n========================\n\nThis dashboard monitors the status of Zuul Launcher in %PROVIDER%.\n\n**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**\nIf you would like to make changes to this dashboard, please see the template in the `grafana` directory in\n[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/%TEMPLATE%).\n",
|
||||
"mode": "markdown"
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"title": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 5
|
||||
},
|
||||
"id": 7,
|
||||
"panels": [],
|
||||
"title": "Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 6
|
||||
},
|
||||
"id": 10,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested)"
|
||||
}
|
||||
],
|
||||
"title": "Requested",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 6
|
||||
},
|
||||
"id": 3,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)"
|
||||
}
|
||||
],
|
||||
"title": "Building",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 6
|
||||
},
|
||||
"id": 4,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)"
|
||||
}
|
||||
],
|
||||
"title": "Ready",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 6
|
||||
},
|
||||
"id": 5,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)"
|
||||
}
|
||||
],
|
||||
"title": "In Use",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 10
|
||||
},
|
||||
"id": 11,
|
||||
"panels": [],
|
||||
"title": "Resources",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"fieldMinMax": false,
|
||||
"mappings": [],
|
||||
"min": 0,
|
||||
"thresholds": {
|
||||
"mode": "percentage",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "unit",
|
||||
"value": "mbytes"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 5,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 11
|
||||
},
|
||||
"id": 13,
|
||||
"options": {
|
||||
"minVizHeight": 75,
|
||||
"minVizWidth": 75,
|
||||
"orientation": "auto",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showThresholdLabels": false,
|
||||
"showThresholdMarkers": true,
|
||||
"sizing": "auto",
|
||||
"text": {
|
||||
"titleSize": 12
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.instances, 'Instances')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances, 'instance limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.cores, 'Cores')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.cores, 'core limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.ram, 'RAM')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.ram, 'ram limit')"
|
||||
}
|
||||
],
|
||||
"title": "Resources - $region",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Instances"
|
||||
},
|
||||
"configRefId": "B",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "instance limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Cores"
|
||||
},
|
||||
"configRefId": "D",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "core limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"configRefId": "F",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "ram limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "gauge"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 16
|
||||
},
|
||||
"id": 9,
|
||||
"panels": [],
|
||||
"title": "Test Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"axisBorderShow": false,
|
||||
"axisCenteredZero": false,
|
||||
"axisColorMode": "text",
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"barAlignment": 0,
|
||||
"barWidthFactor": 0.6,
|
||||
"drawStyle": "line",
|
||||
"fillOpacity": 10,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"insertNulls": false,
|
||||
"lineInterpolation": "linear",
|
||||
"lineWidth": 2,
|
||||
"pointSize": 5,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
},
|
||||
"showPoints": "auto",
|
||||
"spanNulls": false,
|
||||
"stacking": {
|
||||
"group": "A",
|
||||
"mode": "normal"
|
||||
},
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "Max"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.stacking",
|
||||
"value": {
|
||||
"group": "A",
|
||||
"mode": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "custom.fillOpacity",
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 11,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 17
|
||||
},
|
||||
"id": 8,
|
||||
"maxPerRow": 3,
|
||||
"options": {
|
||||
"legend": {
|
||||
"calcs": [],
|
||||
"displayMode": "list",
|
||||
"placement": "bottom",
|
||||
"showLegend": true
|
||||
},
|
||||
"tooltip": {
|
||||
"hideZeros": false,
|
||||
"mode": "multi",
|
||||
"sort": "none"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested), 'Requested')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')"
|
||||
}
|
||||
],
|
||||
"title": "Test Node History - $region",
|
||||
"type": "timeseries"
|
||||
}
|
||||
],
|
||||
"preload": false,
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"tags": [],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"current": {
|
||||
"text": "All",
|
||||
"value": "$__all"
|
||||
},
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"definition": "",
|
||||
"includeAll": true,
|
||||
"multi": true,
|
||||
"name": "region",
|
||||
"options": [],
|
||||
"query": {
|
||||
"queryType": "Default",
|
||||
"refId": "A",
|
||||
"target": "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-%STAT_LIST%-*-main"
|
||||
},
|
||||
"refresh": 1,
|
||||
"regex": "/.*?zuul-providers-(%STAT_LIST%-.*?)-main/",
|
||||
"type": "query"
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-24h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "utc",
|
||||
"title": "Zuul Launcher: %PROVIDER%",
|
||||
"uid": "4caebcfd-6337-4321-826f-b78ef7a4a937",
|
||||
"version": 4
|
||||
}
|
717
grafana/zuul-launcher-ir.template
Normal file
717
grafana/zuul-launcher-ir.template
Normal file
@@ -0,0 +1,717 @@
|
||||
{
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"builtIn": 1,
|
||||
"datasource": {
|
||||
"type": "grafana",
|
||||
"uid": "-- Grafana --"
|
||||
},
|
||||
"enable": true,
|
||||
"hide": true,
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"name": "Annotations & Alerts",
|
||||
"type": "dashboard"
|
||||
}
|
||||
]
|
||||
},
|
||||
"editable": true,
|
||||
"fiscalYearStartMonth": 0,
|
||||
"graphTooltip": 0,
|
||||
"id": 28,
|
||||
"links": [],
|
||||
"panels": [
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"id": 2,
|
||||
"panels": [],
|
||||
"title": "Description",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 1
|
||||
},
|
||||
"id": 1,
|
||||
"options": {
|
||||
"code": {
|
||||
"language": "plaintext",
|
||||
"showLineNumbers": false,
|
||||
"showMiniMap": false
|
||||
},
|
||||
"content": "%PROVIDER% Zuul-Launcher Status\n========================\n\nThis dashboard monitors the status of Zuul Launcher in %PROVIDER%.\n\n**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**\nIf you would like to make changes to this dashboard, please see the template in the `grafana` directory in\n[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/%TEMPLATE%).\n",
|
||||
"mode": "markdown"
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"title": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 5
|
||||
},
|
||||
"id": 7,
|
||||
"panels": [],
|
||||
"title": "Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 6
|
||||
},
|
||||
"id": 10,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested)"
|
||||
}
|
||||
],
|
||||
"title": "Requested",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 6
|
||||
},
|
||||
"id": 3,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)"
|
||||
}
|
||||
],
|
||||
"title": "Building",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 6
|
||||
},
|
||||
"id": 4,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)"
|
||||
}
|
||||
],
|
||||
"title": "Ready",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 6
|
||||
},
|
||||
"id": 5,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)"
|
||||
}
|
||||
],
|
||||
"title": "In Use",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 10
|
||||
},
|
||||
"id": 11,
|
||||
"panels": [],
|
||||
"title": "Resources",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"fieldMinMax": false,
|
||||
"mappings": [],
|
||||
"min": 0,
|
||||
"thresholds": {
|
||||
"mode": "percentage",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "unit",
|
||||
"value": "mbytes"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 5,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 11
|
||||
},
|
||||
"id": 13,
|
||||
"options": {
|
||||
"minVizHeight": 75,
|
||||
"minVizWidth": 75,
|
||||
"orientation": "auto",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showThresholdLabels": false,
|
||||
"showThresholdMarkers": true,
|
||||
"sizing": "auto",
|
||||
"text": {
|
||||
"titleSize": 12
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.instances, 'Instances')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances, 'instance limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.ram, 'RAM')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.ram, 'ram limit')"
|
||||
}
|
||||
],
|
||||
"title": "Resources - $region",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Instances"
|
||||
},
|
||||
"configRefId": "B",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "instance limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"configRefId": "F",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "ram limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "gauge"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 16
|
||||
},
|
||||
"id": 9,
|
||||
"panels": [],
|
||||
"title": "Test Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"axisBorderShow": false,
|
||||
"axisCenteredZero": false,
|
||||
"axisColorMode": "text",
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"barAlignment": 0,
|
||||
"barWidthFactor": 0.6,
|
||||
"drawStyle": "line",
|
||||
"fillOpacity": 10,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"insertNulls": false,
|
||||
"lineInterpolation": "linear",
|
||||
"lineWidth": 2,
|
||||
"pointSize": 5,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
},
|
||||
"showPoints": "auto",
|
||||
"spanNulls": false,
|
||||
"stacking": {
|
||||
"group": "A",
|
||||
"mode": "normal"
|
||||
},
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "Max"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.stacking",
|
||||
"value": {
|
||||
"group": "A",
|
||||
"mode": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "custom.fillOpacity",
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 11,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 17
|
||||
},
|
||||
"id": 8,
|
||||
"maxPerRow": 3,
|
||||
"options": {
|
||||
"legend": {
|
||||
"calcs": [],
|
||||
"displayMode": "list",
|
||||
"placement": "bottom",
|
||||
"showLegend": true
|
||||
},
|
||||
"tooltip": {
|
||||
"hideZeros": false,
|
||||
"mode": "multi",
|
||||
"sort": "none"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested), 'Requested')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')"
|
||||
}
|
||||
],
|
||||
"title": "Test Node History - $region",
|
||||
"type": "timeseries"
|
||||
}
|
||||
],
|
||||
"preload": false,
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"tags": [],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"current": {
|
||||
"text": "All",
|
||||
"value": "$__all"
|
||||
},
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"definition": "",
|
||||
"includeAll": true,
|
||||
"multi": true,
|
||||
"name": "region",
|
||||
"options": [],
|
||||
"query": {
|
||||
"queryType": "Default",
|
||||
"refId": "A",
|
||||
"target": "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-%STAT_LIST%-*-main"
|
||||
},
|
||||
"refresh": 1,
|
||||
"regex": "/.*?zuul-providers-(%STAT_LIST%-.*?)-main/",
|
||||
"type": "query"
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-24h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "utc",
|
||||
"title": "Zuul Launcher: %PROVIDER%",
|
||||
"uid": "4caebcfd-6337-4321-826f-b78ef7a4a937",
|
||||
"version": 4
|
||||
}
|
753
grafana/zuul-launcher-openmetal.json
Normal file
753
grafana/zuul-launcher-openmetal.json
Normal file
@@ -0,0 +1,753 @@
|
||||
{
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"builtIn": 1,
|
||||
"datasource": {
|
||||
"type": "grafana",
|
||||
"uid": "-- Grafana --"
|
||||
},
|
||||
"enable": true,
|
||||
"hide": true,
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"name": "Annotations & Alerts",
|
||||
"type": "dashboard"
|
||||
}
|
||||
]
|
||||
},
|
||||
"editable": true,
|
||||
"fiscalYearStartMonth": 0,
|
||||
"graphTooltip": 0,
|
||||
"id": 28,
|
||||
"links": [],
|
||||
"panels": [
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"id": 2,
|
||||
"panels": [],
|
||||
"title": "Description",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 1
|
||||
},
|
||||
"id": 1,
|
||||
"options": {
|
||||
"code": {
|
||||
"language": "plaintext",
|
||||
"showLineNumbers": false,
|
||||
"showMiniMap": false
|
||||
},
|
||||
"content": "OpenMetal Zuul-Launcher Status\n========================\n\nThis dashboard monitors the status of Zuul Launcher in %PROVIDER%.\n\n**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**\nIf you would like to make changes to this dashboard, please see the template in the `grafana` directory in\n[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher-icr.template).\n",
|
||||
"mode": "markdown"
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"title": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 5
|
||||
},
|
||||
"id": 7,
|
||||
"panels": [],
|
||||
"title": "Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 6
|
||||
},
|
||||
"id": 10,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested)"
|
||||
}
|
||||
],
|
||||
"title": "Requested",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 6
|
||||
},
|
||||
"id": 3,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)"
|
||||
}
|
||||
],
|
||||
"title": "Building",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 6
|
||||
},
|
||||
"id": 4,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)"
|
||||
}
|
||||
],
|
||||
"title": "Ready",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 6
|
||||
},
|
||||
"id": 5,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)"
|
||||
}
|
||||
],
|
||||
"title": "In Use",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 10
|
||||
},
|
||||
"id": 11,
|
||||
"panels": [],
|
||||
"title": "Resources",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"fieldMinMax": false,
|
||||
"mappings": [],
|
||||
"min": 0,
|
||||
"thresholds": {
|
||||
"mode": "percentage",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "unit",
|
||||
"value": "mbytes"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 5,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 11
|
||||
},
|
||||
"id": 13,
|
||||
"options": {
|
||||
"minVizHeight": 75,
|
||||
"minVizWidth": 75,
|
||||
"orientation": "auto",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showThresholdLabels": false,
|
||||
"showThresholdMarkers": true,
|
||||
"sizing": "auto",
|
||||
"text": {
|
||||
"titleSize": 12
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.instances, 'Instances')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances, 'instance limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.cores, 'Cores')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.cores, 'core limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.ram, 'RAM')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.ram, 'ram limit')"
|
||||
}
|
||||
],
|
||||
"title": "Resources - $region",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Instances"
|
||||
},
|
||||
"configRefId": "B",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "instance limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Cores"
|
||||
},
|
||||
"configRefId": "D",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "core limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"configRefId": "F",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "ram limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "gauge"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 16
|
||||
},
|
||||
"id": 9,
|
||||
"panels": [],
|
||||
"title": "Test Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"axisBorderShow": false,
|
||||
"axisCenteredZero": false,
|
||||
"axisColorMode": "text",
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"barAlignment": 0,
|
||||
"barWidthFactor": 0.6,
|
||||
"drawStyle": "line",
|
||||
"fillOpacity": 10,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"insertNulls": false,
|
||||
"lineInterpolation": "linear",
|
||||
"lineWidth": 2,
|
||||
"pointSize": 5,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
},
|
||||
"showPoints": "auto",
|
||||
"spanNulls": false,
|
||||
"stacking": {
|
||||
"group": "A",
|
||||
"mode": "normal"
|
||||
},
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "Max"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.stacking",
|
||||
"value": {
|
||||
"group": "A",
|
||||
"mode": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "custom.fillOpacity",
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 11,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 17
|
||||
},
|
||||
"id": 8,
|
||||
"maxPerRow": 3,
|
||||
"options": {
|
||||
"legend": {
|
||||
"calcs": [],
|
||||
"displayMode": "list",
|
||||
"placement": "bottom",
|
||||
"showLegend": true
|
||||
},
|
||||
"tooltip": {
|
||||
"hideZeros": false,
|
||||
"mode": "multi",
|
||||
"sort": "none"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested), 'Requested')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')"
|
||||
}
|
||||
],
|
||||
"title": "Test Node History - $region",
|
||||
"type": "timeseries"
|
||||
}
|
||||
],
|
||||
"preload": false,
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"tags": [],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"current": {
|
||||
"text": "All",
|
||||
"value": "$__all"
|
||||
},
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"definition": "",
|
||||
"includeAll": true,
|
||||
"multi": true,
|
||||
"name": "region",
|
||||
"options": [],
|
||||
"query": {
|
||||
"queryType": "Default",
|
||||
"refId": "A",
|
||||
"target": "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-openmetal-*-main"
|
||||
},
|
||||
"refresh": 1,
|
||||
"regex": "/.*?zuul-providers-(openmetal-.*?)-main/",
|
||||
"type": "query"
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-24h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "utc",
|
||||
"title": "Zuul Launcher: OpenMetal",
|
||||
"uid": "4caebcfd-6337-4321-826f-b78ef7a4a937",
|
||||
"version": 4
|
||||
}
|
@@ -1,95 +0,0 @@
|
||||
#
|
||||
# NOTE: EDIT THE TEMPLATE FILE AND RUN create-nodepool.sh
|
||||
#
|
||||
|
||||
dashboard:
|
||||
title: 'Zuul Launcher: OpenMetal'
|
||||
templating:
|
||||
- name: region
|
||||
includeAll: true
|
||||
multi: true
|
||||
query: "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-openmetal-*-main"
|
||||
regex: "/.*?zuul-providers-(openmetal-.*?)-main/"
|
||||
refresh: 1
|
||||
type: query
|
||||
rows:
|
||||
- title: Description
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Description
|
||||
content: |
|
||||
OpenMetal Zuul-Launcher Status
|
||||
===============================
|
||||
|
||||
This dashboard monitors the status of Zuul Launcher in OpenMetal.
|
||||
|
||||
**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**
|
||||
If you would like to make changes to this dashboard, please see the template in the `grafana` directory in
|
||||
[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher.template).
|
||||
type: text
|
||||
|
||||
- title: Nodes
|
||||
showTitle: true
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Building
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Ready
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: In Use
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Deleting
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
|
||||
- title: Test Nodes
|
||||
height: 400px
|
||||
panels:
|
||||
- title: Test Node History - $region
|
||||
type: graph
|
||||
span: 12
|
||||
stack: true
|
||||
repeat: region
|
||||
minSpan: 4
|
||||
tooltip:
|
||||
value_type: individual
|
||||
yaxes:
|
||||
- label: "nodes"
|
||||
- show: false
|
||||
targets:
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting), 'Deleting')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')
|
||||
seriesOverrides:
|
||||
- alias: Max
|
||||
stack: False
|
753
grafana/zuul-launcher-osuosl.json
Normal file
753
grafana/zuul-launcher-osuosl.json
Normal file
@@ -0,0 +1,753 @@
|
||||
{
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"builtIn": 1,
|
||||
"datasource": {
|
||||
"type": "grafana",
|
||||
"uid": "-- Grafana --"
|
||||
},
|
||||
"enable": true,
|
||||
"hide": true,
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"name": "Annotations & Alerts",
|
||||
"type": "dashboard"
|
||||
}
|
||||
]
|
||||
},
|
||||
"editable": true,
|
||||
"fiscalYearStartMonth": 0,
|
||||
"graphTooltip": 0,
|
||||
"id": 28,
|
||||
"links": [],
|
||||
"panels": [
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"id": 2,
|
||||
"panels": [],
|
||||
"title": "Description",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 1
|
||||
},
|
||||
"id": 1,
|
||||
"options": {
|
||||
"code": {
|
||||
"language": "plaintext",
|
||||
"showLineNumbers": false,
|
||||
"showMiniMap": false
|
||||
},
|
||||
"content": "OSUOSL Zuul-Launcher Status\n========================\n\nThis dashboard monitors the status of Zuul Launcher in %PROVIDER%.\n\n**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**\nIf you would like to make changes to this dashboard, please see the template in the `grafana` directory in\n[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher-icr.template).\n",
|
||||
"mode": "markdown"
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"title": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 5
|
||||
},
|
||||
"id": 7,
|
||||
"panels": [],
|
||||
"title": "Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 6
|
||||
},
|
||||
"id": 10,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested)"
|
||||
}
|
||||
],
|
||||
"title": "Requested",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 6
|
||||
},
|
||||
"id": 3,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)"
|
||||
}
|
||||
],
|
||||
"title": "Building",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 6
|
||||
},
|
||||
"id": 4,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)"
|
||||
}
|
||||
],
|
||||
"title": "Ready",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 6
|
||||
},
|
||||
"id": 5,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)"
|
||||
}
|
||||
],
|
||||
"title": "In Use",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 10
|
||||
},
|
||||
"id": 11,
|
||||
"panels": [],
|
||||
"title": "Resources",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"fieldMinMax": false,
|
||||
"mappings": [],
|
||||
"min": 0,
|
||||
"thresholds": {
|
||||
"mode": "percentage",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "unit",
|
||||
"value": "mbytes"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 5,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 11
|
||||
},
|
||||
"id": 13,
|
||||
"options": {
|
||||
"minVizHeight": 75,
|
||||
"minVizWidth": 75,
|
||||
"orientation": "auto",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showThresholdLabels": false,
|
||||
"showThresholdMarkers": true,
|
||||
"sizing": "auto",
|
||||
"text": {
|
||||
"titleSize": 12
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.instances, 'Instances')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances, 'instance limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.cores, 'Cores')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.cores, 'core limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.ram, 'RAM')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.ram, 'ram limit')"
|
||||
}
|
||||
],
|
||||
"title": "Resources - $region",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Instances"
|
||||
},
|
||||
"configRefId": "B",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "instance limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Cores"
|
||||
},
|
||||
"configRefId": "D",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "core limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"configRefId": "F",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "ram limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "gauge"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 16
|
||||
},
|
||||
"id": 9,
|
||||
"panels": [],
|
||||
"title": "Test Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"axisBorderShow": false,
|
||||
"axisCenteredZero": false,
|
||||
"axisColorMode": "text",
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"barAlignment": 0,
|
||||
"barWidthFactor": 0.6,
|
||||
"drawStyle": "line",
|
||||
"fillOpacity": 10,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"insertNulls": false,
|
||||
"lineInterpolation": "linear",
|
||||
"lineWidth": 2,
|
||||
"pointSize": 5,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
},
|
||||
"showPoints": "auto",
|
||||
"spanNulls": false,
|
||||
"stacking": {
|
||||
"group": "A",
|
||||
"mode": "normal"
|
||||
},
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "Max"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.stacking",
|
||||
"value": {
|
||||
"group": "A",
|
||||
"mode": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "custom.fillOpacity",
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 11,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 17
|
||||
},
|
||||
"id": 8,
|
||||
"maxPerRow": 3,
|
||||
"options": {
|
||||
"legend": {
|
||||
"calcs": [],
|
||||
"displayMode": "list",
|
||||
"placement": "bottom",
|
||||
"showLegend": true
|
||||
},
|
||||
"tooltip": {
|
||||
"hideZeros": false,
|
||||
"mode": "multi",
|
||||
"sort": "none"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested), 'Requested')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')"
|
||||
}
|
||||
],
|
||||
"title": "Test Node History - $region",
|
||||
"type": "timeseries"
|
||||
}
|
||||
],
|
||||
"preload": false,
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"tags": [],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"current": {
|
||||
"text": "All",
|
||||
"value": "$__all"
|
||||
},
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"definition": "",
|
||||
"includeAll": true,
|
||||
"multi": true,
|
||||
"name": "region",
|
||||
"options": [],
|
||||
"query": {
|
||||
"queryType": "Default",
|
||||
"refId": "A",
|
||||
"target": "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-osuosl-*-main"
|
||||
},
|
||||
"refresh": 1,
|
||||
"regex": "/.*?zuul-providers-(osuosl-.*?)-main/",
|
||||
"type": "query"
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-24h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "utc",
|
||||
"title": "Zuul Launcher: OSUOSL",
|
||||
"uid": "4caebcfd-6337-4321-826f-b78ef7a4a937",
|
||||
"version": 4
|
||||
}
|
@@ -1,95 +0,0 @@
|
||||
#
|
||||
# NOTE: EDIT THE TEMPLATE FILE AND RUN create-nodepool.sh
|
||||
#
|
||||
|
||||
dashboard:
|
||||
title: 'Zuul Launcher: OSUOSL'
|
||||
templating:
|
||||
- name: region
|
||||
includeAll: true
|
||||
multi: true
|
||||
query: "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-osuosl-*-main"
|
||||
regex: "/.*?zuul-providers-(osuosl-.*?)-main/"
|
||||
refresh: 1
|
||||
type: query
|
||||
rows:
|
||||
- title: Description
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Description
|
||||
content: |
|
||||
OSUOSL Zuul-Launcher Status
|
||||
===============================
|
||||
|
||||
This dashboard monitors the status of Zuul Launcher in OSUOSL.
|
||||
|
||||
**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**
|
||||
If you would like to make changes to this dashboard, please see the template in the `grafana` directory in
|
||||
[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher.template).
|
||||
type: text
|
||||
|
||||
- title: Nodes
|
||||
showTitle: true
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Building
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Ready
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: In Use
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Deleting
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
|
||||
- title: Test Nodes
|
||||
height: 400px
|
||||
panels:
|
||||
- title: Test Node History - $region
|
||||
type: graph
|
||||
span: 12
|
||||
stack: true
|
||||
repeat: region
|
||||
minSpan: 4
|
||||
tooltip:
|
||||
value_type: individual
|
||||
yaxes:
|
||||
- label: "nodes"
|
||||
- show: false
|
||||
targets:
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting), 'Deleting')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')
|
||||
seriesOverrides:
|
||||
- alias: Max
|
||||
stack: False
|
753
grafana/zuul-launcher-ovh.json
Normal file
753
grafana/zuul-launcher-ovh.json
Normal file
@@ -0,0 +1,753 @@
|
||||
{
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"builtIn": 1,
|
||||
"datasource": {
|
||||
"type": "grafana",
|
||||
"uid": "-- Grafana --"
|
||||
},
|
||||
"enable": true,
|
||||
"hide": true,
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"name": "Annotations & Alerts",
|
||||
"type": "dashboard"
|
||||
}
|
||||
]
|
||||
},
|
||||
"editable": true,
|
||||
"fiscalYearStartMonth": 0,
|
||||
"graphTooltip": 0,
|
||||
"id": 28,
|
||||
"links": [],
|
||||
"panels": [
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"id": 2,
|
||||
"panels": [],
|
||||
"title": "Description",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 1
|
||||
},
|
||||
"id": 1,
|
||||
"options": {
|
||||
"code": {
|
||||
"language": "plaintext",
|
||||
"showLineNumbers": false,
|
||||
"showMiniMap": false
|
||||
},
|
||||
"content": "OVH Zuul-Launcher Status\n========================\n\nThis dashboard monitors the status of Zuul Launcher in %PROVIDER%.\n\n**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**\nIf you would like to make changes to this dashboard, please see the template in the `grafana` directory in\n[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher-icr.template).\n",
|
||||
"mode": "markdown"
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"title": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 5
|
||||
},
|
||||
"id": 7,
|
||||
"panels": [],
|
||||
"title": "Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 6
|
||||
},
|
||||
"id": 10,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested)"
|
||||
}
|
||||
],
|
||||
"title": "Requested",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 6
|
||||
},
|
||||
"id": 3,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)"
|
||||
}
|
||||
],
|
||||
"title": "Building",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 6
|
||||
},
|
||||
"id": 4,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)"
|
||||
}
|
||||
],
|
||||
"title": "Ready",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 6
|
||||
},
|
||||
"id": 5,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)"
|
||||
}
|
||||
],
|
||||
"title": "In Use",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 10
|
||||
},
|
||||
"id": 11,
|
||||
"panels": [],
|
||||
"title": "Resources",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"fieldMinMax": false,
|
||||
"mappings": [],
|
||||
"min": 0,
|
||||
"thresholds": {
|
||||
"mode": "percentage",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "unit",
|
||||
"value": "mbytes"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 5,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 11
|
||||
},
|
||||
"id": 13,
|
||||
"options": {
|
||||
"minVizHeight": 75,
|
||||
"minVizWidth": 75,
|
||||
"orientation": "auto",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showThresholdLabels": false,
|
||||
"showThresholdMarkers": true,
|
||||
"sizing": "auto",
|
||||
"text": {
|
||||
"titleSize": 12
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.instances, 'Instances')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances, 'instance limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.cores, 'Cores')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.cores, 'core limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.ram, 'RAM')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.ram, 'ram limit')"
|
||||
}
|
||||
],
|
||||
"title": "Resources - $region",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Instances"
|
||||
},
|
||||
"configRefId": "B",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "instance limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Cores"
|
||||
},
|
||||
"configRefId": "D",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "core limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"configRefId": "F",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "ram limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "gauge"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 16
|
||||
},
|
||||
"id": 9,
|
||||
"panels": [],
|
||||
"title": "Test Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"axisBorderShow": false,
|
||||
"axisCenteredZero": false,
|
||||
"axisColorMode": "text",
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"barAlignment": 0,
|
||||
"barWidthFactor": 0.6,
|
||||
"drawStyle": "line",
|
||||
"fillOpacity": 10,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"insertNulls": false,
|
||||
"lineInterpolation": "linear",
|
||||
"lineWidth": 2,
|
||||
"pointSize": 5,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
},
|
||||
"showPoints": "auto",
|
||||
"spanNulls": false,
|
||||
"stacking": {
|
||||
"group": "A",
|
||||
"mode": "normal"
|
||||
},
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "Max"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.stacking",
|
||||
"value": {
|
||||
"group": "A",
|
||||
"mode": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "custom.fillOpacity",
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 11,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 17
|
||||
},
|
||||
"id": 8,
|
||||
"maxPerRow": 3,
|
||||
"options": {
|
||||
"legend": {
|
||||
"calcs": [],
|
||||
"displayMode": "list",
|
||||
"placement": "bottom",
|
||||
"showLegend": true
|
||||
},
|
||||
"tooltip": {
|
||||
"hideZeros": false,
|
||||
"mode": "multi",
|
||||
"sort": "none"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested), 'Requested')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')"
|
||||
}
|
||||
],
|
||||
"title": "Test Node History - $region",
|
||||
"type": "timeseries"
|
||||
}
|
||||
],
|
||||
"preload": false,
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"tags": [],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"current": {
|
||||
"text": "All",
|
||||
"value": "$__all"
|
||||
},
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"definition": "",
|
||||
"includeAll": true,
|
||||
"multi": true,
|
||||
"name": "region",
|
||||
"options": [],
|
||||
"query": {
|
||||
"queryType": "Default",
|
||||
"refId": "A",
|
||||
"target": "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-ovh-*-main"
|
||||
},
|
||||
"refresh": 1,
|
||||
"regex": "/.*?zuul-providers-(ovh-.*?)-main/",
|
||||
"type": "query"
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-24h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "utc",
|
||||
"title": "Zuul Launcher: OVH",
|
||||
"uid": "4caebcfd-6337-4321-826f-b78ef7a4a937",
|
||||
"version": 4
|
||||
}
|
@@ -1,95 +0,0 @@
|
||||
#
|
||||
# NOTE: EDIT THE TEMPLATE FILE AND RUN create-nodepool.sh
|
||||
#
|
||||
|
||||
dashboard:
|
||||
title: 'Zuul Launcher: OVH'
|
||||
templating:
|
||||
- name: region
|
||||
includeAll: true
|
||||
multi: true
|
||||
query: "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-ovh-*-main"
|
||||
regex: "/.*?zuul-providers-(ovh-.*?)-main/"
|
||||
refresh: 1
|
||||
type: query
|
||||
rows:
|
||||
- title: Description
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Description
|
||||
content: |
|
||||
OVH Zuul-Launcher Status
|
||||
===============================
|
||||
|
||||
This dashboard monitors the status of Zuul Launcher in OVH.
|
||||
|
||||
**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**
|
||||
If you would like to make changes to this dashboard, please see the template in the `grafana` directory in
|
||||
[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher.template).
|
||||
type: text
|
||||
|
||||
- title: Nodes
|
||||
showTitle: true
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Building
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Ready
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: In Use
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Deleting
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
|
||||
- title: Test Nodes
|
||||
height: 400px
|
||||
panels:
|
||||
- title: Test Node History - $region
|
||||
type: graph
|
||||
span: 12
|
||||
stack: true
|
||||
repeat: region
|
||||
minSpan: 4
|
||||
tooltip:
|
||||
value_type: individual
|
||||
yaxes:
|
||||
- label: "nodes"
|
||||
- show: false
|
||||
targets:
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting), 'Deleting')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')
|
||||
seriesOverrides:
|
||||
- alias: Max
|
||||
stack: False
|
717
grafana/zuul-launcher-rax.json
Normal file
717
grafana/zuul-launcher-rax.json
Normal file
@@ -0,0 +1,717 @@
|
||||
{
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"builtIn": 1,
|
||||
"datasource": {
|
||||
"type": "grafana",
|
||||
"uid": "-- Grafana --"
|
||||
},
|
||||
"enable": true,
|
||||
"hide": true,
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"name": "Annotations & Alerts",
|
||||
"type": "dashboard"
|
||||
}
|
||||
]
|
||||
},
|
||||
"editable": true,
|
||||
"fiscalYearStartMonth": 0,
|
||||
"graphTooltip": 0,
|
||||
"id": 28,
|
||||
"links": [],
|
||||
"panels": [
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"id": 2,
|
||||
"panels": [],
|
||||
"title": "Description",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 1
|
||||
},
|
||||
"id": 1,
|
||||
"options": {
|
||||
"code": {
|
||||
"language": "plaintext",
|
||||
"showLineNumbers": false,
|
||||
"showMiniMap": false
|
||||
},
|
||||
"content": "Rackspace Zuul-Launcher Status\n========================\n\nThis dashboard monitors the status of Zuul Launcher in %PROVIDER%.\n\n**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**\nIf you would like to make changes to this dashboard, please see the template in the `grafana` directory in\n[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher-ir.template).\n",
|
||||
"mode": "markdown"
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"title": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 5
|
||||
},
|
||||
"id": 7,
|
||||
"panels": [],
|
||||
"title": "Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 6
|
||||
},
|
||||
"id": 10,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested)"
|
||||
}
|
||||
],
|
||||
"title": "Requested",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 6
|
||||
},
|
||||
"id": 3,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)"
|
||||
}
|
||||
],
|
||||
"title": "Building",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 6
|
||||
},
|
||||
"id": 4,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)"
|
||||
}
|
||||
],
|
||||
"title": "Ready",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 6
|
||||
},
|
||||
"id": 5,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)"
|
||||
}
|
||||
],
|
||||
"title": "In Use",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 10
|
||||
},
|
||||
"id": 11,
|
||||
"panels": [],
|
||||
"title": "Resources",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"fieldMinMax": false,
|
||||
"mappings": [],
|
||||
"min": 0,
|
||||
"thresholds": {
|
||||
"mode": "percentage",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "unit",
|
||||
"value": "mbytes"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 5,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 11
|
||||
},
|
||||
"id": 13,
|
||||
"options": {
|
||||
"minVizHeight": 75,
|
||||
"minVizWidth": 75,
|
||||
"orientation": "auto",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showThresholdLabels": false,
|
||||
"showThresholdMarkers": true,
|
||||
"sizing": "auto",
|
||||
"text": {
|
||||
"titleSize": 12
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.instances, 'Instances')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances, 'instance limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.ram, 'RAM')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.ram, 'ram limit')"
|
||||
}
|
||||
],
|
||||
"title": "Resources - $region",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Instances"
|
||||
},
|
||||
"configRefId": "B",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "instance limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"configRefId": "F",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "ram limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "gauge"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 16
|
||||
},
|
||||
"id": 9,
|
||||
"panels": [],
|
||||
"title": "Test Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"axisBorderShow": false,
|
||||
"axisCenteredZero": false,
|
||||
"axisColorMode": "text",
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"barAlignment": 0,
|
||||
"barWidthFactor": 0.6,
|
||||
"drawStyle": "line",
|
||||
"fillOpacity": 10,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"insertNulls": false,
|
||||
"lineInterpolation": "linear",
|
||||
"lineWidth": 2,
|
||||
"pointSize": 5,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
},
|
||||
"showPoints": "auto",
|
||||
"spanNulls": false,
|
||||
"stacking": {
|
||||
"group": "A",
|
||||
"mode": "normal"
|
||||
},
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "Max"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.stacking",
|
||||
"value": {
|
||||
"group": "A",
|
||||
"mode": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "custom.fillOpacity",
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 11,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 17
|
||||
},
|
||||
"id": 8,
|
||||
"maxPerRow": 3,
|
||||
"options": {
|
||||
"legend": {
|
||||
"calcs": [],
|
||||
"displayMode": "list",
|
||||
"placement": "bottom",
|
||||
"showLegend": true
|
||||
},
|
||||
"tooltip": {
|
||||
"hideZeros": false,
|
||||
"mode": "multi",
|
||||
"sort": "none"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested), 'Requested')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')"
|
||||
}
|
||||
],
|
||||
"title": "Test Node History - $region",
|
||||
"type": "timeseries"
|
||||
}
|
||||
],
|
||||
"preload": false,
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"tags": [],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"current": {
|
||||
"text": "All",
|
||||
"value": "$__all"
|
||||
},
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"definition": "",
|
||||
"includeAll": true,
|
||||
"multi": true,
|
||||
"name": "region",
|
||||
"options": [],
|
||||
"query": {
|
||||
"queryType": "Default",
|
||||
"refId": "A",
|
||||
"target": "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-rax-*-main"
|
||||
},
|
||||
"refresh": 1,
|
||||
"regex": "/.*?zuul-providers-(rax-.*?)-main/",
|
||||
"type": "query"
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-24h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "utc",
|
||||
"title": "Zuul Launcher: Rackspace",
|
||||
"uid": "4caebcfd-6337-4321-826f-b78ef7a4a937",
|
||||
"version": 4
|
||||
}
|
@@ -1,95 +0,0 @@
|
||||
#
|
||||
# NOTE: EDIT THE TEMPLATE FILE AND RUN create-nodepool.sh
|
||||
#
|
||||
|
||||
dashboard:
|
||||
title: 'Zuul Launcher: Rackspace'
|
||||
templating:
|
||||
- name: region
|
||||
includeAll: true
|
||||
multi: true
|
||||
query: "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-rax-*-main"
|
||||
regex: "/.*?zuul-providers-(rax-.*?)-main/"
|
||||
refresh: 1
|
||||
type: query
|
||||
rows:
|
||||
- title: Description
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Description
|
||||
content: |
|
||||
Rackspace Zuul-Launcher Status
|
||||
===============================
|
||||
|
||||
This dashboard monitors the status of Zuul Launcher in Rackspace.
|
||||
|
||||
**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**
|
||||
If you would like to make changes to this dashboard, please see the template in the `grafana` directory in
|
||||
[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher.template).
|
||||
type: text
|
||||
|
||||
- title: Nodes
|
||||
showTitle: true
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Building
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Ready
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: In Use
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Deleting
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
|
||||
- title: Test Nodes
|
||||
height: 400px
|
||||
panels:
|
||||
- title: Test Node History - $region
|
||||
type: graph
|
||||
span: 12
|
||||
stack: true
|
||||
repeat: region
|
||||
minSpan: 4
|
||||
tooltip:
|
||||
value_type: individual
|
||||
yaxes:
|
||||
- label: "nodes"
|
||||
- show: false
|
||||
targets:
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting), 'Deleting')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')
|
||||
seriesOverrides:
|
||||
- alias: Max
|
||||
stack: False
|
717
grafana/zuul-launcher-raxflex.json
Normal file
717
grafana/zuul-launcher-raxflex.json
Normal file
@@ -0,0 +1,717 @@
|
||||
{
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"builtIn": 1,
|
||||
"datasource": {
|
||||
"type": "grafana",
|
||||
"uid": "-- Grafana --"
|
||||
},
|
||||
"enable": true,
|
||||
"hide": true,
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"name": "Annotations & Alerts",
|
||||
"type": "dashboard"
|
||||
}
|
||||
]
|
||||
},
|
||||
"editable": true,
|
||||
"fiscalYearStartMonth": 0,
|
||||
"graphTooltip": 0,
|
||||
"id": 28,
|
||||
"links": [],
|
||||
"panels": [
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"id": 2,
|
||||
"panels": [],
|
||||
"title": "Description",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 1
|
||||
},
|
||||
"id": 1,
|
||||
"options": {
|
||||
"code": {
|
||||
"language": "plaintext",
|
||||
"showLineNumbers": false,
|
||||
"showMiniMap": false
|
||||
},
|
||||
"content": "Rackspace-Flex Zuul-Launcher Status\n========================\n\nThis dashboard monitors the status of Zuul Launcher in %PROVIDER%.\n\n**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**\nIf you would like to make changes to this dashboard, please see the template in the `grafana` directory in\n[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher-ir.template).\n",
|
||||
"mode": "markdown"
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"title": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 5
|
||||
},
|
||||
"id": 7,
|
||||
"panels": [],
|
||||
"title": "Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 6
|
||||
},
|
||||
"id": 10,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested)"
|
||||
}
|
||||
],
|
||||
"title": "Requested",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 6
|
||||
},
|
||||
"id": 3,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)"
|
||||
}
|
||||
],
|
||||
"title": "Building",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 6
|
||||
},
|
||||
"id": 4,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)"
|
||||
}
|
||||
],
|
||||
"title": "Ready",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 6
|
||||
},
|
||||
"id": 5,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)"
|
||||
}
|
||||
],
|
||||
"title": "In Use",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 10
|
||||
},
|
||||
"id": 11,
|
||||
"panels": [],
|
||||
"title": "Resources",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"fieldMinMax": false,
|
||||
"mappings": [],
|
||||
"min": 0,
|
||||
"thresholds": {
|
||||
"mode": "percentage",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "unit",
|
||||
"value": "mbytes"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 5,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 11
|
||||
},
|
||||
"id": 13,
|
||||
"options": {
|
||||
"minVizHeight": 75,
|
||||
"minVizWidth": 75,
|
||||
"orientation": "auto",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showThresholdLabels": false,
|
||||
"showThresholdMarkers": true,
|
||||
"sizing": "auto",
|
||||
"text": {
|
||||
"titleSize": 12
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.instances, 'Instances')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances, 'instance limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.ram, 'RAM')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.ram, 'ram limit')"
|
||||
}
|
||||
],
|
||||
"title": "Resources - $region",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Instances"
|
||||
},
|
||||
"configRefId": "B",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "instance limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"configRefId": "F",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "ram limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "gauge"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 16
|
||||
},
|
||||
"id": 9,
|
||||
"panels": [],
|
||||
"title": "Test Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"axisBorderShow": false,
|
||||
"axisCenteredZero": false,
|
||||
"axisColorMode": "text",
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"barAlignment": 0,
|
||||
"barWidthFactor": 0.6,
|
||||
"drawStyle": "line",
|
||||
"fillOpacity": 10,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"insertNulls": false,
|
||||
"lineInterpolation": "linear",
|
||||
"lineWidth": 2,
|
||||
"pointSize": 5,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
},
|
||||
"showPoints": "auto",
|
||||
"spanNulls": false,
|
||||
"stacking": {
|
||||
"group": "A",
|
||||
"mode": "normal"
|
||||
},
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "Max"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.stacking",
|
||||
"value": {
|
||||
"group": "A",
|
||||
"mode": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "custom.fillOpacity",
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 11,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 17
|
||||
},
|
||||
"id": 8,
|
||||
"maxPerRow": 3,
|
||||
"options": {
|
||||
"legend": {
|
||||
"calcs": [],
|
||||
"displayMode": "list",
|
||||
"placement": "bottom",
|
||||
"showLegend": true
|
||||
},
|
||||
"tooltip": {
|
||||
"hideZeros": false,
|
||||
"mode": "multi",
|
||||
"sort": "none"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested), 'Requested')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')"
|
||||
}
|
||||
],
|
||||
"title": "Test Node History - $region",
|
||||
"type": "timeseries"
|
||||
}
|
||||
],
|
||||
"preload": false,
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"tags": [],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"current": {
|
||||
"text": "All",
|
||||
"value": "$__all"
|
||||
},
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"definition": "",
|
||||
"includeAll": true,
|
||||
"multi": true,
|
||||
"name": "region",
|
||||
"options": [],
|
||||
"query": {
|
||||
"queryType": "Default",
|
||||
"refId": "A",
|
||||
"target": "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-raxflex-*-main"
|
||||
},
|
||||
"refresh": 1,
|
||||
"regex": "/.*?zuul-providers-(raxflex-.*?)-main/",
|
||||
"type": "query"
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-24h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "utc",
|
||||
"title": "Zuul Launcher: Rackspace-Flex",
|
||||
"uid": "4caebcfd-6337-4321-826f-b78ef7a4a937",
|
||||
"version": 4
|
||||
}
|
@@ -1,95 +0,0 @@
|
||||
#
|
||||
# NOTE: EDIT THE TEMPLATE FILE AND RUN create-nodepool.sh
|
||||
#
|
||||
|
||||
dashboard:
|
||||
title: 'Zuul Launcher: Rackspace-Flex'
|
||||
templating:
|
||||
- name: region
|
||||
includeAll: true
|
||||
multi: true
|
||||
query: "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-raxflex-*-main"
|
||||
regex: "/.*?zuul-providers-(raxflex-.*?)-main/"
|
||||
refresh: 1
|
||||
type: query
|
||||
rows:
|
||||
- title: Description
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Description
|
||||
content: |
|
||||
Rackspace-Flex Zuul-Launcher Status
|
||||
===============================
|
||||
|
||||
This dashboard monitors the status of Zuul Launcher in Rackspace-Flex.
|
||||
|
||||
**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**
|
||||
If you would like to make changes to this dashboard, please see the template in the `grafana` directory in
|
||||
[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher.template).
|
||||
type: text
|
||||
|
||||
- title: Nodes
|
||||
showTitle: true
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Building
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Ready
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: In Use
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Deleting
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
|
||||
- title: Test Nodes
|
||||
height: 400px
|
||||
panels:
|
||||
- title: Test Node History - $region
|
||||
type: graph
|
||||
span: 12
|
||||
stack: true
|
||||
repeat: region
|
||||
minSpan: 4
|
||||
tooltip:
|
||||
value_type: individual
|
||||
yaxes:
|
||||
- label: "nodes"
|
||||
- show: false
|
||||
targets:
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting), 'Deleting')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')
|
||||
seriesOverrides:
|
||||
- alias: Max
|
||||
stack: False
|
753
grafana/zuul-launcher-vexxhost.json
Normal file
753
grafana/zuul-launcher-vexxhost.json
Normal file
@@ -0,0 +1,753 @@
|
||||
{
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"builtIn": 1,
|
||||
"datasource": {
|
||||
"type": "grafana",
|
||||
"uid": "-- Grafana --"
|
||||
},
|
||||
"enable": true,
|
||||
"hide": true,
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"name": "Annotations & Alerts",
|
||||
"type": "dashboard"
|
||||
}
|
||||
]
|
||||
},
|
||||
"editable": true,
|
||||
"fiscalYearStartMonth": 0,
|
||||
"graphTooltip": 0,
|
||||
"id": 28,
|
||||
"links": [],
|
||||
"panels": [
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"id": 2,
|
||||
"panels": [],
|
||||
"title": "Description",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 1
|
||||
},
|
||||
"id": 1,
|
||||
"options": {
|
||||
"code": {
|
||||
"language": "plaintext",
|
||||
"showLineNumbers": false,
|
||||
"showMiniMap": false
|
||||
},
|
||||
"content": "Vexxhost Zuul-Launcher Status\n========================\n\nThis dashboard monitors the status of Zuul Launcher in %PROVIDER%.\n\n**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**\nIf you would like to make changes to this dashboard, please see the template in the `grafana` directory in\n[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher-icr.template).\n",
|
||||
"mode": "markdown"
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"title": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 5
|
||||
},
|
||||
"id": 7,
|
||||
"panels": [],
|
||||
"title": "Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 6
|
||||
},
|
||||
"id": 10,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested)"
|
||||
}
|
||||
],
|
||||
"title": "Requested",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 6
|
||||
},
|
||||
"id": 3,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)"
|
||||
}
|
||||
],
|
||||
"title": "Building",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 6
|
||||
},
|
||||
"id": 4,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)"
|
||||
}
|
||||
],
|
||||
"title": "Ready",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"fixedColor": "rgb(31, 120, 193)",
|
||||
"mode": "fixed"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 6
|
||||
},
|
||||
"id": 5,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "none",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refId": "A",
|
||||
"target": "sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)"
|
||||
}
|
||||
],
|
||||
"title": "In Use",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 10
|
||||
},
|
||||
"id": 11,
|
||||
"panels": [],
|
||||
"title": "Resources",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"fieldMinMax": false,
|
||||
"mappings": [],
|
||||
"min": 0,
|
||||
"thresholds": {
|
||||
"mode": "percentage",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "unit",
|
||||
"value": "mbytes"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 5,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 11
|
||||
},
|
||||
"id": 13,
|
||||
"options": {
|
||||
"minVizHeight": 75,
|
||||
"minVizWidth": 75,
|
||||
"orientation": "auto",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showThresholdLabels": false,
|
||||
"showThresholdMarkers": true,
|
||||
"sizing": "auto",
|
||||
"text": {
|
||||
"titleSize": 12
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.instances, 'Instances')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances, 'instance limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.cores, 'Cores')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.cores, 'core limit')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.usage.ram, 'RAM')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"hide": false,
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.ram, 'ram limit')"
|
||||
}
|
||||
],
|
||||
"title": "Resources - $region",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Instances"
|
||||
},
|
||||
"configRefId": "B",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "instance limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "Cores"
|
||||
},
|
||||
"configRefId": "D",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "core limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "configFromData",
|
||||
"options": {
|
||||
"applyTo": {
|
||||
"id": "byName",
|
||||
"options": "RAM"
|
||||
},
|
||||
"configRefId": "F",
|
||||
"mappings": [
|
||||
{
|
||||
"fieldName": "ram limit",
|
||||
"handlerKey": "max"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "gauge"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 16
|
||||
},
|
||||
"id": 9,
|
||||
"panels": [],
|
||||
"title": "Test Nodes",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"axisBorderShow": false,
|
||||
"axisCenteredZero": false,
|
||||
"axisColorMode": "text",
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"barAlignment": 0,
|
||||
"barWidthFactor": 0.6,
|
||||
"drawStyle": "line",
|
||||
"fillOpacity": 10,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"insertNulls": false,
|
||||
"lineInterpolation": "linear",
|
||||
"lineWidth": 2,
|
||||
"pointSize": 5,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
},
|
||||
"showPoints": "auto",
|
||||
"spanNulls": false,
|
||||
"stacking": {
|
||||
"group": "A",
|
||||
"mode": "normal"
|
||||
},
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "Max"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.stacking",
|
||||
"value": {
|
||||
"group": "A",
|
||||
"mode": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "custom.fillOpacity",
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 11,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 17
|
||||
},
|
||||
"id": 8,
|
||||
"maxPerRow": 3,
|
||||
"options": {
|
||||
"legend": {
|
||||
"calcs": [],
|
||||
"displayMode": "list",
|
||||
"placement": "bottom",
|
||||
"showLegend": true
|
||||
},
|
||||
"tooltip": {
|
||||
"hideZeros": false,
|
||||
"mode": "multi",
|
||||
"sort": "none"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "12.0.2",
|
||||
"repeat": "region",
|
||||
"repeatDirection": "h",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "A",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "B",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "C",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "D",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "E",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.requested), 'Requested')"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"refCount": 0,
|
||||
"refId": "F",
|
||||
"target": "alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')"
|
||||
}
|
||||
],
|
||||
"title": "Test Node History - $region",
|
||||
"type": "timeseries"
|
||||
}
|
||||
],
|
||||
"preload": false,
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"tags": [],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"current": {
|
||||
"text": "All",
|
||||
"value": "$__all"
|
||||
},
|
||||
"datasource": {
|
||||
"type": "graphite",
|
||||
"uid": "d9c17c45a8"
|
||||
},
|
||||
"definition": "",
|
||||
"includeAll": true,
|
||||
"multi": true,
|
||||
"name": "region",
|
||||
"options": [],
|
||||
"query": {
|
||||
"queryType": "Default",
|
||||
"refId": "A",
|
||||
"target": "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-vexxhost-*-main"
|
||||
},
|
||||
"refresh": 1,
|
||||
"regex": "/.*?zuul-providers-(vexxhost-.*?)-main/",
|
||||
"type": "query"
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-24h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "utc",
|
||||
"title": "Zuul Launcher: Vexxhost",
|
||||
"uid": "4caebcfd-6337-4321-826f-b78ef7a4a937",
|
||||
"version": 4
|
||||
}
|
@@ -1,95 +0,0 @@
|
||||
#
|
||||
# NOTE: EDIT THE TEMPLATE FILE AND RUN create-nodepool.sh
|
||||
#
|
||||
|
||||
dashboard:
|
||||
title: 'Zuul Launcher: Vexxhost'
|
||||
templating:
|
||||
- name: region
|
||||
includeAll: true
|
||||
multi: true
|
||||
query: "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-vexxhost-*-main"
|
||||
regex: "/.*?zuul-providers-(vexxhost-.*?)-main/"
|
||||
refresh: 1
|
||||
type: query
|
||||
rows:
|
||||
- title: Description
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Description
|
||||
content: |
|
||||
Vexxhost Zuul-Launcher Status
|
||||
===============================
|
||||
|
||||
This dashboard monitors the status of Zuul Launcher in Vexxhost.
|
||||
|
||||
**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**
|
||||
If you would like to make changes to this dashboard, please see the template in the `grafana` directory in
|
||||
[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher.template).
|
||||
type: text
|
||||
|
||||
- title: Nodes
|
||||
showTitle: true
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Building
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Ready
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: In Use
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Deleting
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
|
||||
- title: Test Nodes
|
||||
height: 400px
|
||||
panels:
|
||||
- title: Test Node History - $region
|
||||
type: graph
|
||||
span: 12
|
||||
stack: true
|
||||
repeat: region
|
||||
minSpan: 4
|
||||
tooltip:
|
||||
value_type: individual
|
||||
yaxes:
|
||||
- label: "nodes"
|
||||
- show: false
|
||||
targets:
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting), 'Deleting')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')
|
||||
seriesOverrides:
|
||||
- alias: Max
|
||||
stack: False
|
@@ -1,95 +0,0 @@
|
||||
#
|
||||
# NOTE: EDIT THE TEMPLATE FILE AND RUN create-nodepool.sh
|
||||
#
|
||||
|
||||
dashboard:
|
||||
title: 'Zuul Launcher: %PROVIDER%'
|
||||
templating:
|
||||
- name: region
|
||||
includeAll: true
|
||||
multi: true
|
||||
query: "stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-%STAT_LIST%-*-main"
|
||||
regex: "/.*?zuul-providers-(%STAT_LIST%-.*?)-main/"
|
||||
refresh: 1
|
||||
type: query
|
||||
rows:
|
||||
- title: Description
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Description
|
||||
content: |
|
||||
%PROVIDER% Zuul-Launcher Status
|
||||
===============================
|
||||
|
||||
This dashboard monitors the status of Zuul Launcher in %PROVIDER%.
|
||||
|
||||
**This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).**
|
||||
If you would like to make changes to this dashboard, please see the template in the `grafana` directory in
|
||||
[project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/zuul-launcher.template).
|
||||
type: text
|
||||
|
||||
- title: Nodes
|
||||
showTitle: true
|
||||
height: 150px
|
||||
panels:
|
||||
- title: Building
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Ready
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: In Use
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
- title: Deleting
|
||||
span: 3
|
||||
sparkline:
|
||||
full: true
|
||||
show: true
|
||||
targets:
|
||||
- target: sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting)
|
||||
type: singlestat
|
||||
valueName: current
|
||||
|
||||
- title: Test Nodes
|
||||
height: 400px
|
||||
panels:
|
||||
- title: Test Node History - $region
|
||||
type: graph
|
||||
span: 12
|
||||
stack: true
|
||||
repeat: region
|
||||
minSpan: 4
|
||||
tooltip:
|
||||
value_type: individual
|
||||
yaxes:
|
||||
- label: "nodes"
|
||||
- show: false
|
||||
targets:
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.building), 'Building')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.ready), 'Ready')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.in-use), 'In Use')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.used), 'Used')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.nodes.state.deleting), 'Deleting')
|
||||
- target: alias(sumSeries(stats.gauges.zuul.provider.opendev_org2Fopendev2Fzuul-providers-$region-main.limit.instances), 'Max')
|
||||
seriesOverrides:
|
||||
- alias: Max
|
||||
stack: False
|
Reference in New Issue
Block a user