|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554 |
- {
- "name": "Microsoft SQL Server",
- "tags": "",
- "ident": "",
- "configs": {
- "version": "3.0.0",
- "links": [],
- "var": [
- {
- "type": "datasource",
- "name": "DS_PROMETHEUS",
- "definition": "prometheus"
- },
- {
- "type": "query",
- "name": "Job",
- "definition": "label_values(mssql_instance_local_time, job)",
- "allValue": null,
- "allOption": false,
- "multi": false,
- "reg": "",
- "hide": false,
- "datasource": {
- "cate": "prometheus",
- "value": "${DS_PROMETHEUS}"
- }
- },
- {
- "type": "query",
- "name": "database",
- "definition": "label_values(mssql_connections,database)",
- "allValue": null,
- "allOption": true,
- "multi": false,
- "reg": "",
- "hide": false,
- "datasource": {
- "cate": "prometheus",
- "value": "${DS_PROMETHEUS}"
- }
- }
- ],
- "panels": [
- {
- "type": "table",
- "id": "28f81145-c0d2-49bc-9b6c-28e969c25537",
- "layout": {
- "h": 3,
- "w": 24,
- "x": 0,
- "y": 0,
- "i": "28f81145-c0d2-49bc-9b6c-28e969c25537",
- "isResizable": true
- },
- "version": "3.0.0",
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "targets": [
- {
- "expr": "mssql_total_physical_memory_kb{job=~\"$Job\"}-0",
- "refId": "A",
- "legend": "Total RAM"
- },
- {
- "expr": "mssql_available_physical_memory_kb{job=~\"$Job\"}-0",
- "refId": "B",
- "legend": "RAM availbable"
- },
- {
- "expr": "mssql_available_page_file_kb{job=~\"$Job\"}-0",
- "refId": "C",
- "legend": "Pagefile available size"
- },
- {
- "expr": "mssql_page_fault_count{job=~\"$Job\"}-0",
- "refId": "D",
- "legend": "Total page faults"
- },
- {
- "expr": "mssql_batch_requests{job=~\"$Job\"}-0",
- "refId": "E",
- "legend": "Batch reqs /sec"
- },
- {
- "expr": "mssql_page_life_expectancy{job=~\"$Job\"}-0",
- "refId": "F",
- "legend": "Page life expectancy(sec)"
- },
- {
- "expr": "mssql_deadlocks{job=~\"$Job\"}-0",
- "refId": "G",
- "legend": "Deadlocks"
- },
- {
- "expr": "mssql_user_errors{job=~\"$Job\"}-0",
- "refId": "H",
- "legend": "User errors /sec"
- },
- {
- "expr": "mssql_kill_connection_errors{job=~\"$Job\"}-0",
- "refId": "I",
- "legend": "Kill conn errors /sec"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "name": "$Job:Server resource overview",
- "maxPerRow": 4,
- "custom": {
- "showHeader": true,
- "colorMode": "background",
- "calc": "lastNotNull",
- "displayMode": "labelValuesToRows",
- "aggrDimension": [],
- "linkMode": "appendLinkColumn"
- },
- "options": {
- "standardOptions": {}
- },
- "overrides": [
- {
- "matcher": {
- "id": "byFrameRefID",
- "value": "F"
- },
- "properties": {
- "standardOptions": {
- "util": "seconds"
- },
- "valueMappings": [
- {
- "type": "range",
- "result": {
- "color": "#ff9919"
- },
- "match": {
- "special": 0,
- "from": 0,
- "to": 100
- }
- },
- {
- "type": "range",
- "result": {
- "color": "#3fc453"
- },
- "match": {
- "from": 100
- }
- }
- ]
- }
- },
- {
- "type": "special",
- "matcher": {
- "id": "byFrameRefID",
- "value": "D"
- },
- "properties": {
- "standardOptions": {
- "util": "none"
- }
- }
- },
- {
- "type": "special",
- "matcher": {
- "id": "byFrameRefID",
- "value": "H"
- },
- "properties": {
- "standardOptions": {
- "util": "bytesSecSI"
- }
- }
- },
- {
- "type": "special",
- "matcher": {
- "id": "byFrameRefID",
- "value": "B"
- },
- "properties": {
- "valueMappings": [
- {
- "type": "range",
- "result": {
- "color": "#2c9d3d"
- },
- "match": {
- "textValue": "200",
- "from": 102400000,
- "to": null
- }
- },
- {
- "type": "range",
- "result": {
- "color": "#ffae39"
- },
- "match": {
- "from": 0,
- "to": 100000000
- }
- }
- ],
- "standardOptions": {
- "util": "bytesIEC"
- }
- }
- },
- {
- "type": "special",
- "matcher": {
- "id": "byFrameRefID",
- "value": "G"
- },
- "properties": {
- "valueMappings": [
- {
- "type": "special",
- "result": {
- "color": "#3fc453"
- },
- "match": {
- "special": 0
- }
- }
- ],
- "standardOptions": {}
- }
- },
- {
- "type": "special",
- "matcher": {
- "id": "byFrameRefID",
- "value": "I"
- },
- "properties": {
- "valueMappings": [
- {
- "type": "special",
- "result": {
- "color": "#3fc453"
- },
- "match": {
- "special": 0
- }
- },
- {
- "type": "range",
- "result": {
- "color": "#ff9919"
- },
- "match": {
- "from": 1
- }
- }
- ],
- "standardOptions": {}
- }
- }
- ]
- },
- {
- "version": "3.0.0",
- "id": "77467d35-8002-4211-a95d-ed6278567ab4",
- "type": "row",
- "name": "Summary",
- "collapsed": true,
- "layout": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 3,
- "i": "77467d35-8002-4211-a95d-ed6278567ab4",
- "isResizable": false
- },
- "panels": []
- },
- {
- "type": "barGauge",
- "id": "f8795e89-0e61-43ec-9c05-90424bf7eb60",
- "layout": {
- "h": 7,
- "w": 7,
- "x": 0,
- "y": 4,
- "i": "f8795e89-0e61-43ec-9c05-90424bf7eb60",
- "isResizable": true
- },
- "version": "3.0.0",
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "targets": [
- {
- "refId": "A",
- "expr": "mssql_connections{}",
- "legend": "{{database}}"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "name": "Current database connections",
- "links": [],
- "maxPerRow": 4,
- "custom": {
- "calc": "lastNotNull",
- "baseColor": "#2c9d3d",
- "serieWidth": 20,
- "sortOrder": "desc"
- },
- "options": {
- "valueMappings": [],
- "standardOptions": {
- "util": "none"
- }
- }
- },
- {
- "type": "timeseries",
- "id": "9247c782-4abf-4423-84ba-6453d5491e23",
- "layout": {
- "h": 7,
- "w": 9,
- "x": 7,
- "y": 4,
- "i": "9247c782-4abf-4423-84ba-6453d5491e23",
- "isResizable": true
- },
- "version": "3.0.0",
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "targets": [
- {
- "refId": "A",
- "expr": "mssql_log_growths",
- "legend": "{{database}}"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "name": "DB Log growth since last restart",
- "links": [],
- "maxPerRow": 4,
- "options": {
- "tooltip": {
- "mode": "all",
- "sort": "none"
- },
- "legend": {
- "displayMode": "list",
- "placement": "right",
- "columns": [
- "last"
- ],
- "behaviour": "showItem"
- },
- "standardOptions": {},
- "thresholds": {
- "steps": [
- {
- "color": "#634CD9",
- "value": null,
- "type": "base"
- }
- ]
- }
- },
- "custom": {
- "drawStyle": "lines",
- "lineInterpolation": "linear",
- "spanNulls": false,
- "lineWidth": 1,
- "fillOpacity": 0,
- "gradientMode": "none",
- "stack": "off",
- "scaleDistribution": {
- "type": "linear"
- }
- }
- },
- {
- "type": "timeseries",
- "id": "47686441-a9d6-4ede-8901-5d05ce3ef8b8",
- "layout": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 4,
- "i": "47686441-a9d6-4ede-8901-5d05ce3ef8b8",
- "isResizable": true
- },
- "version": "3.0.0",
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "targets": [
- {
- "refId": "A",
- "expr": "mssql_io_stall_total{job=~\"$Job\"}",
- "legend": "{{database}}"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "name": "Total wait time of I/O stall",
- "links": [],
- "maxPerRow": 4,
- "options": {
- "tooltip": {
- "mode": "all",
- "sort": "none"
- },
- "legend": {
- "displayMode": "list",
- "placement": "right",
- "columns": [
- "last"
- ],
- "behaviour": "showItem"
- },
- "standardOptions": {
- "util": "milliseconds"
- },
- "thresholds": {
- "steps": [
- {
- "color": "#634CD9",
- "value": null,
- "type": "base"
- }
- ]
- }
- },
- "custom": {
- "drawStyle": "lines",
- "lineInterpolation": "linear",
- "spanNulls": false,
- "lineWidth": 1,
- "fillOpacity": 0,
- "gradientMode": "none",
- "stack": "off",
- "scaleDistribution": {
- "type": "linear"
- }
- }
- },
- {
- "version": "3.0.0",
- "id": "bb996a6d-ddec-46c3-8c64-dd2a57a13fd4",
- "type": "row",
- "name": "Database I/O wait of stall detailed",
- "collapsed": true,
- "layout": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 11,
- "i": "bb996a6d-ddec-46c3-8c64-dd2a57a13fd4",
- "isResizable": false
- },
- "panels": []
- },
- {
- "type": "timeseries",
- "id": "9c5037d4-563c-412f-b4e9-103d90ecc62d",
- "layout": {
- "h": 8,
- "w": 24,
- "x": 0,
- "y": 12,
- "i": "9c5037d4-563c-412f-b4e9-103d90ecc62d",
- "isResizable": true
- },
- "version": "3.0.0",
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "targets": [
- {
- "refId": "A",
- "expr": "mssql_io_stall{database=~\"^$database\"}",
- "legend": "{{type}}"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "name": "Database ${database} wait by I/O stall ",
- "links": [],
- "description": "",
- "repeat": "database",
- "maxPerRow": 3,
- "options": {
- "tooltip": {
- "mode": "all",
- "sort": "none"
- },
- "legend": {
- "displayMode": "list",
- "placement": "right",
- "columns": [
- "last"
- ],
- "behaviour": "showItem"
- },
- "standardOptions": {
- "util": "milliseconds"
- },
- "thresholds": {
- "steps": [
- {
- "color": "#634CD9",
- "value": null,
- "type": "base"
- }
- ]
- }
- },
- "custom": {
- "drawStyle": "lines",
- "lineInterpolation": "linear",
- "spanNulls": false,
- "lineWidth": 1,
- "fillOpacity": 0,
- "gradientMode": "none",
- "stack": "off",
- "scaleDistribution": {
- "type": "linear"
- }
- }
- }
- ]
- }
- }
|