1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-14 11:37:31 +00:00
monitoring-mixins-website/assets/awx/dashboards/awx.json
Vitaly Zhuravlev b3b400137a Add jsonnet-libs mixins
Add blackbox exporter
Add mysql exporter
2024-05-04 12:01:41 +00:00

1859 lines
53 KiB
JSON

{
"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": 19,
"links": [ ],
"liveNow": false,
"panels": [
{
"collapse": false,
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [ ],
"showTitle": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"refId": "A"
}
],
"title": "Cluster",
"titleSize": "h6",
"type": "row"
},
{
"datasource": {
"uid": "$datasource"
},
"description": "List of available clusters with counts of cluster level objects. Selectable by the \"instance\" variable.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-blues"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false,
"minWidth": 90
},
"links": [ ],
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [ ]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Instance"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "",
"url": "d/eqcdR8HDA/var-datasource=${datasource}&var-job=${job}&var-instance=~${__data.fields.Instance}"
}
]
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 1
},
"id": 9,
"links": [ ],
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"exemplar": false,
"expr": "awx_organizations_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Orgs",
"refId": "A"
},
{
"datasource": {
"uid": "$datasource"
},
"exemplar": false,
"expr": "awx_teams_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Teams",
"refId": "B"
},
{
"datasource": {
"uid": "$datasource"
},
"exemplar": false,
"expr": "awx_users_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Users",
"refId": "C"
},
{
"datasource": {
"uid": "$datasource"
},
"exemplar": false,
"expr": "awx_inventories_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Inventories",
"refId": "D"
},
{
"datasource": {
"uid": "$datasource"
},
"exemplar": false,
"expr": "awx_projects_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Projects",
"refId": "E"
},
{
"datasource": {
"uid": "$datasource"
},
"exemplar": false,
"expr": "awx_schedules_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Schedules",
"refId": "F"
}
],
"title": "Cluster List",
"transformations": [
{
"id": "seriesToColumns",
"options": {
"byField": "instance"
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time 1": true,
"Time 2": true,
"Time 3": true,
"Time 4": true,
"Time 5": true,
"Time 6": true,
"__name__ 1": true,
"__name__ 2": true,
"__name__ 3": true,
"__name__ 4": true,
"__name__ 5": true,
"__name__ 6": true,
"cluster 1": true,
"cluster 2": true,
"cluster 3": true,
"cluster 4": true,
"cluster 5": true,
"cluster 6": true,
"job 1": true,
"job 2": true,
"job 3": true,
"job 4": true,
"job 5": true,
"job 6": true
},
"indexByName": { },
"renameByName": {
"Time 3": "",
"Time 4": "",
"Time 5": "",
"Value #A": "Organizations",
"Value #B": "Teams",
"Value #C": "Users",
"Value #D": "Inventories",
"Value #E": "Projects",
"Value #F": "Schedules",
"__name__ 5": "",
"cluster 2": "",
"cluster 6": "",
"instance": "Instance"
}
}
}
],
"type": "table"
},
{
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"links": [ ],
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [ ]
},
"unit": "none"
},
"overrides": [ ]
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 7
},
"id": 3,
"links": [ ],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^tower_version$/",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "awx_system_info{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Tower Version",
"type": "stat"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "purple",
"mode": "fixed"
},
"links": [
{
"targetBlank": true,
"title": "",
"url": "${__value.text}"
}
],
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [ ]
},
"unit": "none"
},
"overrides": [ ]
},
"gridPos": {
"h": 3,
"w": 12,
"x": 3,
"y": 7
},
"id": 8,
"links": [ ],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^tower_url_base$/",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 3,
"refId": "A"
}
],
"title": "Tower Base URL",
"type": "stat"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "blue",
"mode": "fixed"
},
"links": [ ],
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [ ]
},
"unit": "none"
},
"overrides": [ ]
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 7
},
"id": 4,
"links": [ ],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^license_type$/",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 3,
"refId": "A"
}
],
"title": "License Type",
"type": "stat"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"links": [ ],
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "#EAB839",
"value": 7776000
},
{
"color": "super-light-green",
"value": 15552000
},
{
"color": "green",
"value": 31536000
}
]
},
"unit": "s"
},
"overrides": [ ]
},
"gridPos": {
"h": 3,
"w": 3,
"x": 18,
"y": 7
},
"id": 5,
"links": [ ],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^license_expiry$/",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 3,
"refId": "A"
}
],
"title": "License Expiry",
"transformations": [
{
"id": "labelsToFields"
},
{
"id": "merge",
"options": { }
}
],
"type": "stat"
},
{
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"links": [ ],
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "#EAB839",
"value": 10
},
{
"color": "#EF843C",
"value": 20
},
{
"color": "green",
"value": 40
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "awx_license_instance_total{cluster=\"my-cluster\", instance=\"awx-service.sample-apps.svc.cluster.local:80\", job=\"integrations/awx\"}"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
}
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 3,
"x": 21,
"y": 7
},
"id": 6,
"links": [ ],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "awx_license_instance_free{job=~\"$job\", instance=~\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"uid": "$datasource"
},
"expr": "awx_license_instance_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "B"
}
],
"title": "Licenses Free/Total",
"type": "stat"
},
{
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false,
"minWidth": 100
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Enabled"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "mappings",
"value": [
{
"options": {
"False": {
"color": "red",
"index": 1
},
"True": {
"color": "green",
"index": 0
}
},
"type": "value"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "Consumed Capacity"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.40000000000000002
},
{
"color": "orange",
"value": 0.59999999999999998
},
{
"color": "red",
"value": 0.80000000000000004
}
]
}
},
{
"id": "unit",
"value": "percentunit"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Memory"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 10
},
"id": 11,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "awx_instance_info{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum by (hostname) (awx_instance_cpu{job=~\"$job\", instance=~\"$instance\"})",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "B"
},
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum by (hostname) (awx_instance_memory{job=~\"$job\", instance=~\"$instance\"})",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "C"
},
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum by (hostname) (awx_instance_consumed_capacity{job=~\"$job\", instance=~\"$instance\"}) / sum by (hostname) (awx_instance_capacity{job=~\"$job\", instance=~\"$instance\"})",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "D"
}
],
"title": "Cluster Instances",
"transformations": [
{
"id": "merge",
"options": { }
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value #A": true,
"__name__": true,
"cluster": true,
"instance": true,
"job": true,
"managed_by_policy": true
},
"indexByName": {
"Time": 0,
"Value #A": 10,
"Value #B": 11,
"Value #C": 12,
"Vaule #D": 13,
"__name__": 1,
"cluster": 2,
"enabled": 4,
"hostname": 3,
"instance": 6,
"instance_uuid": 7,
"job": 8,
"managed_by_policy": 5,
"version": 9
},
"renameByName": {
"Value #B": "CPU Cores",
"Value #C": "Memory",
"Value #D": "Consumed Capacity",
"enabled": "Enabled",
"hostname": "Hostname",
"instance_uuid": "UUID",
"managed_by_policy": "Managed by Policy",
"version": "Version"
}
}
}
],
"type": "table"
},
{
"aliasColors": { },
"datasource": {
"uid": "$datasource"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [ ]
},
"overrides": [ ]
},
"gridPos": {
"h": 5,
"w": 6,
"x": 0,
"y": 16
},
"id": 10,
"legend": {
"percentage": true,
"show": true,
"values": true
},
"legendType": "Right side",
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value",
"percent"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pieType": "pie",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "awx_hosts_total{type=\"active\", job=~\"$job\", instance=~\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Active",
"refId": "A"
},
{
"datasource": {
"uid": "$datasource"
},
"expr": "awx_hosts_total{type=\"total\", job=~\"$job\", instance=~\"$instance\"} - awx_hosts_total{type=\"active\", job=~\"$job\", instance=~\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Inactive",
"refId": "B"
}
],
"title": "Hosts",
"type": "piechart",
"valueName": "current"
},
{
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "anonymous"
},
"properties": [
{
"id": "displayName",
"value": "Anonymous"
}
]
},
{
"matcher": {
"id": "byName",
"options": "user"
},
"properties": [
{
"id": "displayName",
"value": "Authenticated"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 12,
"x": 6,
"y": 16
},
"id": 7,
"links": [ ],
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum by (type) (awx_sessions_total{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{type}}",
"refId": "A"
}
],
"title": "Sessions",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Time",
"anonymous",
"user"
]
}
}
}
],
"type": "timeseries"
},
{
"aliasColors": { },
"datasource": {
"uid": "$datasource"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [ ]
},
"overrides": [ ]
},
"gridPos": {
"h": 5,
"w": 6,
"x": 18,
"y": 16
},
"id": 12,
"legend": {
"percentage": true,
"show": true,
"values": true
},
"legendType": "Right side",
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value",
"percent"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pieType": "pie",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "awx_job_templates_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Job",
"refId": "A"
},
{
"datasource": {
"uid": "$datasource"
},
"expr": "awx_workflow_job_templates_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Workflow Job",
"refId": "B"
}
],
"title": "Templates by Type",
"type": "piechart",
"valueName": "current"
},
{
"collapse": false,
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 21
},
"id": 13,
"panels": [ ],
"showTitle": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"refId": "A"
}
],
"title": "Jobs",
"titleSize": "h6",
"type": "row"
},
{
"datasource": {
"uid": "$datasource"
},
"description": "Total number of jobs in the Running or Pending state, on all AWX instances in the cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 9,
"x": 0,
"y": 22
},
"id": 14,
"links": [ ],
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "awx_running_jobs_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Running",
"refId": "A"
},
{
"datasource": {
"uid": "$datasource"
},
"expr": "awx_running_jobs_total{job=~\"$job\", instance=~\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Pending",
"refId": "B"
}
],
"title": "Active Jobs by State",
"type": "timeseries"
},
{
"datasource": {
"uid": "$datasource"
},
"description": "Rate of new jobs being started, by Launch Type.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 9,
"x": 9,
"y": 22
},
"id": 16,
"links": [ ],
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum by (launch_type) (irate(awx_instance_launch_type_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{launch_type}}",
"refId": "A"
}
],
"title": "Job Rate by Launch Type",
"type": "timeseries"
},
{
"aliasColors": { },
"datasource": {
"uid": "$datasource"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [ ]
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 22
},
"id": 18,
"legend": {
"percentage": true,
"show": true,
"values": true
},
"legendType": "Right side",
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value",
"percent"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pieType": "pie",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum by (launch_type) (awx_instance_launch_type_total{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{launch_type}}",
"refId": "A"
}
],
"title": "Jobs by Launch Type",
"type": "piechart",
"valueName": "current"
},
{
"datasource": {
"uid": "$datasource"
},
"description": "Rate of job completion status, on all AWX instances in the cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 9,
"x": 0,
"y": 28
},
"id": 15,
"links": [ ],
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "irate(awx_status_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{status}}",
"refId": "A"
}
],
"title": "Job Completion Status Rate",
"type": "timeseries"
},
{
"datasource": {
"uid": "$datasource"
},
"description": "Rate of new jobs being completed, by their Node and Completion Status.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 9,
"x": 9,
"y": 28
},
"id": 17,
"links": [ ],
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.2.3",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum by (status, node) (irate(awx_instance_status_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{status}} - {{node}}",
"refId": "A"
}
],
"title": "Job Rate by Node and Completion Status",
"type": "timeseries"
},
{
"aliasColors": { },
"datasource": {
"uid": "$datasource"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [ ]
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 28
},
"id": 19,
"legend": {
"percentage": true,
"show": true,
"values": true
},
"legendType": "Right side",
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value",
"percent"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pieType": "pie",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum by (status) (awx_instance_status_total{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{status}}",
"refId": "A"
}
],
"title": "Jobs by Completion Status",
"type": "piechart",
"valueName": "current"
}
],
"refresh": "30s",
"schemaVersion": 39,
"tags": [
"awx-integration"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "default",
"value": "default"
},
"hide": 0,
"includeAll": false,
"label": "Data source",
"multi": false,
"name": "datasource",
"options": [ ],
"query": "prometheus",
"refresh": 1,
"regex": "(?!grafanacloud-usage|grafanacloud-ml-metrics).+",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": ".+",
"current": {
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Job",
"multi": true,
"name": "job",
"options": [ ],
"query": "label_values(awx_system_info, job)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".+",
"current": {
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Instance",
"multi": true,
"name": "instance",
"options": [ ],
"query": "label_values(awx_system_info{job=~\"$job\"}, instance)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "AWX",
"uid": "eqcdR8HDA",
"version": 2,
"weekStart": ""
}