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/apache-mesos/dashboards/apache-mesos-overview.json

1676 lines
49 KiB
JSON
Raw Normal View History

{
"__inputs": [ ],
"__requires": [ ],
"annotations": {
"list": [ ]
},
"description": "",
"editable": false,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"links": [ ],
"panels": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "Uptime of the Mesos master process.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "s"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 4,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2-cloud.2.0cb5a501",
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_master_uptime_seconds{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Master uptime",
"type": "stat"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "CPUs available in the cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": ""
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 5,
"x": 4,
"y": 0
},
"id": 3,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2-cloud.2.0cb5a501",
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_master_cpus{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\", type=\"total\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "CPUs available",
"type": "stat"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "Amount of memory available in the cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 5,
"x": 9,
"y": 0
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2-cloud.2.0cb5a501",
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_master_mem{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\", type=\"total\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Memory available",
"type": "stat"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "Total number of GPUs available in the cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": ""
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 5,
"x": 14,
"y": 0
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2-cloud.2.0cb5a501",
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_master_gpus{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\", type=\"total\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "GPUs available",
"type": "stat"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "Current amount of bytes inside the cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 5,
"x": 19,
"y": 0
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2-cloud.2.0cb5a501",
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_master_disk{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\", type=\"total\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Disk available",
"type": "stat"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "The percentage of allocated memory in use by the cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percent"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 6
},
"id": 7,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_master_mem{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\", type=\"percent\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Memory utilization",
"type": "timeseries"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "The percentage of allocated disk storage in use by the cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percent"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 6
},
"id": 8,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_master_disk{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\", type=\"percent\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Disk utilization",
"type": "timeseries"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "The number of events in the event queue.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "events"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 12
},
"id": 9,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster, type) (mesos_master_event_queue_length{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}} - {{type}}"
}
],
"title": "Events in queue",
"type": "timeseries"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "The rate of messages being processed.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "messages"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 12
},
"id": 10,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster, type) (increase(mesos_master_messages{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"}[$__interval:])) > 0",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}} - {{type}}"
}
],
"title": "Messages",
"type": "timeseries"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "Duration of fetching and storing the Mesos agent registrar state.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "ms"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 18,
"x": 0,
"y": 18
},
"id": 11,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_registrar_state_store_ms{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\", type=\"mean\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}} - store"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_registrar_state_fetch_ms{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}} - fetch"
}
],
"title": "Registrar state",
"type": "timeseries"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "Whether or not the registrar log was properly recovered.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"color": "red",
"index": 1,
"text": "Not OK"
},
"1": {
"color": "green",
"index": 0,
"text": "OK"
}
},
"type": "value"
},
{
"options": {
"match": "null",
"result": {
"color": "text",
"index": 2,
"text": "-"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": ""
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 18
},
"id": 12,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": { },
"textMode": "auto"
},
"pluginVersion": "9.5.2-cloud.2.0cb5a501",
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_registrar_log_recovered{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Registrar log recovered",
"type": "stat"
},
{
"collapsed": false,
"datasource": {
"uid": "${prometheus_datasource}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 24
},
"id": 13,
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": ""
}
],
"title": "Allocator",
"type": "row"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "The rate of how often the allocator is performing allocations.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "allocs/s"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 25
},
"id": 14,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (rate(mesos_master_allocation_run_ms_count{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"}[$__rate_interval]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Allocation runs",
"type": "timeseries"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "Time spent in the allocation algorithm in ms.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "ms"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 25
},
"id": 15,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_master_allocation_run_ms{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Allocation duration",
"type": "timeseries"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "Allocation batch latency in ms",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "ms"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 25
},
"id": 16,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_master_allocation_run_latency_ms{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Allocation latency",
"type": "timeseries"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "The number of dispatch events in the allocator mesos event queue.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "events"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 25
},
"id": 17,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (mesos_master_event_queue_dispatches{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Event queue dispatches",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"uid": "${prometheus_datasource}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 31
},
"id": 18,
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": ""
}
],
"title": "Agents",
"type": "row"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "The percentage of allocated memory in use by the agent.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percent"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 32
},
"id": 19,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (100 * mesos_slave_mem_used_bytes{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"} / clamp_min(mesos_slave_mem_bytes{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"},1))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Agent memory utilization",
"type": "timeseries"
},
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"description": "The percentage of allocated disk storage in use by the agent.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percent"
},
"overrides": [ ]
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 32
},
"id": 20,
"options": {
"legend": {
"calcs": [ ],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "max by(mesos_cluster) (100 * mesos_slave_disk_used_bytes{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"} / clamp_min(mesos_slave_disk_bytes{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"},1))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{mesos_cluster}}"
}
],
"title": "Agent disk utilization",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"uid": "${prometheus_datasource}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 38
},
"id": 21,
"targets": [
{
"datasource": {
"uid": "${prometheus_datasource}"
},
"expr": "",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": ""
}
],
"title": "Logs",
"type": "row"
},
{
"datasource": {
"uid": "${loki_datasource}"
},
"description": "The application logs for the Mesos master node.",
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 39
},
"id": 22,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"uid": "${loki_datasource}"
},
"editorMode": "code",
"expr": "{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"} |= `` | (filename=~\"/var/log/mesos/master/.*\" or log_type=\"master\")",
"queryType": "range",
"refId": "A"
}
],
"title": "Master logs",
"type": "logs"
},
{
"datasource": {
"uid": "${loki_datasource}"
},
"description": "The application logs for the Mesos agent node.",
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 47
},
"id": 23,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"uid": "${loki_datasource}"
},
"editorMode": "code",
"expr": "{job=~\"$job\", instance=~\"$instance\", mesos_cluster=~\"$mesos_cluster\"} |= `` | (filename=~\"/var/log/mesos/agent/.*\" or log_type=\"agent\")",
"queryType": "range",
"refId": "A"
}
],
"title": "Agent logs",
"type": "logs"
}
],
"refresh": "1m",
"rows": [ ],
"schemaVersion": 14,
"style": "dark",
"tags": [
"apache-mesos-mixin"
],
"templating": {
"list": [
{
"current": { },
"hide": 0,
"label": "Prometheus data source",
"name": "prometheus_datasource",
"options": [ ],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"current": { },
"hide": 0,
"label": "Loki data source",
"name": "loki_datasource",
"options": [ ],
"query": "loki",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allValue": ".+",
"current": { },
"datasource": {
"uid": "${prometheus_datasource}"
},
"hide": 0,
"includeAll": true,
"label": "Job",
"multi": true,
"name": "job",
"options": [ ],
"query": "label_values(mesos_exporter_build_info,job)",
"refresh": 2,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [ ],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".*",
"current": { },
"datasource": {
"uid": "${prometheus_datasource}"
},
"hide": 2,
"includeAll": true,
"label": "Cluster",
"multi": true,
"name": "cluster",
"options": [ ],
"query": "label_values(mesos_exporter_build_info{job=~\"$job\"}, cluster)",
"refresh": 2,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [ ],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".+",
"current": { },
"datasource": {
"uid": "${prometheus_datasource}"
},
"hide": 0,
"includeAll": true,
"label": "Instance",
"multi": true,
"name": "instance",
"options": [ ],
"query": "label_values(mesos_exporter_build_info{job=~\"$job\"}, instance)",
"refresh": 2,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [ ],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".+",
"current": { },
"datasource": {
"uid": "${prometheus_datasource}"
},
"hide": 0,
"includeAll": true,
"label": "Mesos cluster",
"multi": true,
"name": "mesos_cluster",
"options": [ ],
"query": "label_values(mesos_exporter_build_info{job=~\"$job\", instance=~\"$instance\"}, mesos_cluster)",
"refresh": 2,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [ ],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-1h",
"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": "default",
"title": "Apache Mesos overview",
"uid": "apache-mesos-overview",
"version": 0
}