|
- {
- "id": 0,
- "group_id": 0,
- "name": "GitLab - Overview",
- "ident": "",
- "tags": "",
- "create_at": 0,
- "create_by": "",
- "update_at": 0,
- "update_by": "",
- "configs": {
- "links": [
- {
- "title": "GitLab Docs",
- "url": "https://docs.gitlab.com/"
- }
- ],
- "panels": [
- {
- "custom": {
- "alignItems": "center",
- "bgColor": "#FFFFFF",
- "content": "\u003cbr\u003e\u003ch1\u003e\u003ci\u003e\u003cfont color=#5991A7\u003e\u003cb\u003eGitLab Service Status\u003c/b\u003e\u003c/font\u003e\u003c/i\u003e\u003c/h1\u003e\n",
- "justifyContent": "center",
- "textColor": "#000000",
- "textSize": 12
- },
- "id": "ffcfeb75-3a21-40b1-8fe7-313aa3e5f4e3",
- "layout": {
- "h": 3,
- "i": "ffcfeb75-3a21-40b1-8fe7-313aa3e5f4e3",
- "isResizable": true,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "links": [],
- "maxPerRow": 4,
- "name": "",
- "type": "text",
- "version": "3.0.0"
- },
- {
- "custom": {
- "alignItems": "center",
- "bgColor": "#FFFFFF",
- "content": "\u003cp style=\"text-align:center;\"\u003e\u003cimg src=\"https://www.cloudfoundry.org/wp-content/uploads/2017/10/icon_gitlab_cf@2x.png\" width=80px/\u003e\u003c/p\u003e",
- "justifyContent": "center",
- "textColor": "#000000",
- "textSize": 12
- },
- "id": "9991440f-1e01-4807-8911-2619329af244",
- "layout": {
- "h": 3,
- "i": "9991440f-1e01-4807-8911-2619329af244",
- "isResizable": true,
- "w": 2,
- "x": 0,
- "y": 3
- },
- "links": [],
- "maxPerRow": 4,
- "name": "Gitlab",
- "type": "text",
- "version": "3.0.0"
- },
- {
- "custom": {
- "calc": "first",
- "colSpan": 1,
- "colorMode": "value",
- "graphMode": "none",
- "textMode": "value",
- "textSize": {},
- "valueField": "version"
- },
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "id": "f3fcab1f-d198-48c6-bf1d-44e481a9fa7a",
- "layout": {
- "h": 3,
- "i": "f3fcab1f-d198-48c6-bf1d-44e481a9fa7a",
- "isResizable": true,
- "w": 5,
- "x": 2,
- "y": 3
- },
- "links": [],
- "maxPerRow": 4,
- "name": "GitLab Version",
- "options": {
- "standardOptions": {
- "util": "none"
- },
- "thresholds": {
- "steps": [
- {
- "color": "#73BF69",
- "type": "base",
- "value": null
- },
- {
- "color": "#F2495C",
- "value": 80
- }
- ]
- },
- "valueMappings": [
- {
- "id": 0,
- "op": "=",
- "text": "N/A",
- "type": 1,
- "value": "null"
- }
- ]
- },
- "targets": [
- {
- "expr": "topk(1, count by (version) (gitlab_build_info{job=~\"gitlab-workhorse\"}))",
- "legend": "",
- "refId": "A"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "type": "stat",
- "version": "3.0.0"
- },
- {
- "custom": {
- "calc": "lastNotNull",
- "colorDomainAuto": true,
- "colorRange": [
- "#f0ee6e",
- "#6ba261",
- "#306d52"
- ],
- "reverseColorOrder": false,
- "textMode": "valueAndName"
- },
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "id": "7a4c7be6-56de-4c76-8c2f-cef5a80e84b5",
- "layout": {
- "h": 3,
- "i": "7a4c7be6-56de-4c76-8c2f-cef5a80e84b5",
- "isResizable": true,
- "w": 17,
- "x": 7,
- "y": 3
- },
- "links": [],
- "maxPerRow": 4,
- "name": "Service Status",
- "options": {
- "standardOptions": {}
- },
- "targets": [
- {
- "expr": "sum(up{job!~\"gitlab_exporter.*|node\",instance!~\".*:9168\",service=~\"gitlab\"}) by (job) / count(up{job!~\"gitlab_exporter.*|node\",instance!~\".*:9168\",service=~\"gitlab\"}) by (job) * 100",
- "legend": "{{job}}",
- "refId": "A"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "type": "hexbin",
- "version": "3.0.0"
- },
- {
- "custom": {
- "content": "\u003cbr\u003e\u003ch1\u003e\u003ci\u003e\u003cfont color=#5991A7\u003e\u003cb\u003eSidekiq Statistics\u003c/b\u003e\u003c/font\u003e\u003c/i\u003e\u003c/h1\u003e\n",
- "version": "3.0.0"
- },
- "id": "9efa19b0-18fd-4f4d-abee-cebe09a36803",
- "layout": {
- "h": 2,
- "i": "9efa19b0-18fd-4f4d-abee-cebe09a36803",
- "isResizable": true,
- "w": 24,
- "x": 0,
- "y": 6
- },
- "links": [],
- "maxPerRow": 4,
- "options": {
- "legend": {
- "displayMode": "list"
- },
- "standardOptions": {
- "util": "none"
- },
- "thresholds": {
- "steps": [],
- "style": "line"
- },
- "tooltip": {
- "mode": "multi"
- }
- },
- "targets": [],
- "type": "text",
- "version": "3.0.0"
- },
- {
- "custom": {
- "calc": "lastNotNull",
- "colorDomainAuto": true,
- "colorRange": [
- "#83c898",
- "#c2c2c2",
- "#fc653f"
- ],
- "reverseColorOrder": false,
- "textMode": "valueAndName"
- },
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "id": "fd0e96e0-7577-4475-8287-143d9d7e0bc7",
- "layout": {
- "h": 4,
- "i": "fd0e96e0-7577-4475-8287-143d9d7e0bc7",
- "isResizable": true,
- "w": 12,
- "x": 0,
- "y": 8
- },
- "links": [],
- "maxPerRow": 4,
- "name": "Background Jobs",
- "options": {
- "standardOptions": {}
- },
- "targets": [
- {
- "expr": "max(sidekiq_jobs_processed_total)",
- "legend": "Processed",
- "refId": "A"
- },
- {
- "expr": "max(sidekiq_jobs_failed_total)",
- "legend": "Failed",
- "refId": "B"
- },
- {
- "expr": "max(sidekiq_jobs_enqueued_size)",
- "legend": "Enqueued",
- "refId": "C"
- },
- {
- "expr": "max(sidekiq_jobs_scheduled_size)",
- "legend": "Scheduled",
- "refId": "D"
- },
- {
- "expr": "max(sidekiq_jobs_retry_size)",
- "legend": "Retry",
- "refId": "E"
- },
- {
- "expr": "max(sidekiq_jobs_dead_size)",
- "legend": "Dead",
- "refId": "F"
- },
- {
- "expr": "max(sidekiq_processes_size)",
- "legend": "Processes",
- "refId": "G"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "type": "hexbin",
- "version": "3.0.0"
- },
- {
- "custom": {
- "drawStyle": "lines",
- "fillOpacity": 0.3,
- "gradientMode": "opacity",
- "lineInterpolation": "linear",
- "lineWidth": 2,
- "scaleDistribution": {
- "type": "linear"
- },
- "spanNulls": false,
- "stack": "off"
- },
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "id": "1645b734-ef79-4ff5-8be4-a24747cf4e6e",
- "layout": {
- "h": 4,
- "i": "1645b734-ef79-4ff5-8be4-a24747cf4e6e",
- "isResizable": true,
- "w": 12,
- "x": 12,
- "y": 8
- },
- "links": [],
- "maxPerRow": 4,
- "name": "Queue Size Top 10",
- "options": {
- "legend": {
- "displayMode": "hidden"
- },
- "standardOptions": {},
- "thresholds": {
- "steps": [
- {
- "color": "#634CD9",
- "type": "base",
- "value": null
- }
- ]
- },
- "tooltip": {
- "mode": "all",
- "sort": "none"
- }
- },
- "targets": [
- {
- "expr": "topk(10, avg_over_time(sidekiq_queue_size{}[5m]))",
- "legend": "{{name}}",
- "refId": "B"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "type": "timeseries",
- "version": "3.0.0"
- },
- {
- "custom": {
- "content": "\u003cbr\u003e\u003ch1\u003e\u003ci\u003e\u003cfont color=#5991A7\u003e\u003cb\u003eWorkhorse Statistics\u003c/b\u003e\u003c/font\u003e\u003c/i\u003e\u003c/h1\u003e",
- "version": "3.0.0"
- },
- "id": "e25e6cfb-020b-4743-8de9-ef6240144a94",
- "layout": {
- "h": 2,
- "i": "e25e6cfb-020b-4743-8de9-ef6240144a94",
- "isResizable": true,
- "w": 24,
- "x": 0,
- "y": 12
- },
- "links": [],
- "maxPerRow": 4,
- "options": {
- "legend": {
- "displayMode": "list"
- },
- "standardOptions": {
- "util": "none"
- },
- "thresholds": {
- "steps": [],
- "style": "line"
- },
- "tooltip": {
- "mode": "multi"
- }
- },
- "targets": [],
- "type": "text",
- "version": "3.0.0"
- },
- {
- "custom": {
- "drawStyle": "lines",
- "fillOpacity": 0.3,
- "gradientMode": "opacity",
- "lineInterpolation": "linear",
- "lineWidth": 2,
- "scaleDistribution": {
- "type": "linear"
- },
- "spanNulls": false,
- "stack": "off"
- },
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "id": "dd030993-481d-43e4-887a-3c0dee279ea0",
- "layout": {
- "h": 9,
- "i": "dd030993-481d-43e4-887a-3c0dee279ea0",
- "isResizable": true,
- "w": 12,
- "x": 0,
- "y": 14
- },
- "links": [],
- "maxPerRow": 4,
- "name": "Http Request Total",
- "options": {
- "legend": {
- "displayMode": "hidden"
- },
- "standardOptions": {},
- "thresholds": {
- "steps": [
- {
- "color": "#634CD9",
- "type": "base",
- "value": null
- }
- ]
- },
- "tooltip": {
- "mode": "all",
- "sort": "none"
- }
- },
- "targets": [
- {
- "expr": "sum by (code) (\n rate(gitlab_workhorse_http_requests_total{instance=~\".*:9229\"}[5m])\n)",
- "legend": "{{code}}",
- "refId": "B"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "type": "timeseries",
- "version": "3.0.0"
- },
- {
- "custom": {
- "drawStyle": "lines",
- "fillOpacity": 0.3,
- "gradientMode": "opacity",
- "lineInterpolation": "smooth",
- "lineWidth": 2,
- "scaleDistribution": {
- "type": "linear"
- },
- "spanNulls": false,
- "stack": "off"
- },
- "datasourceCate": "prometheus",
- "datasourceValue": "${DS_PROMETHEUS}",
- "id": "77343eca-60d3-4be9-b80d-6db471399339",
- "layout": {
- "h": 9,
- "i": "77343eca-60d3-4be9-b80d-6db471399339",
- "isResizable": true,
- "w": 12,
- "x": 12,
- "y": 14
- },
- "links": [],
- "maxPerRow": 4,
- "name": "Workhorse Latency",
- "options": {
- "legend": {
- "displayMode": "hidden"
- },
- "standardOptions": {
- "util": "seconds"
- },
- "thresholds": {
- "steps": [
- {
- "color": "#634CD9",
- "type": "base",
- "value": null
- }
- ]
- },
- "tooltip": {
- "mode": "all",
- "sort": "none"
- }
- },
- "targets": [
- {
- "expr": "sum by (le) (\n rate(gitlab_workhorse_http_request_duration_seconds_bucket{instance=~\".*:9229\"}[5m])\n)",
- "legend": "{{le}}",
- "refId": "B"
- }
- ],
- "transformations": [
- {
- "id": "organize",
- "options": {}
- }
- ],
- "type": "timeseries",
- "version": "3.0.0"
- }
- ],
- "var": [
- {
- "definition": "prometheus",
- "name": "DS_PROMETHEUS",
- "type": "datasource"
- }
- ],
- "version": "3.0.0"
- },
- "public": 0,
- "public_cate": 0,
- "bgids": null,
- "built_in": 0,
- "hide": 0,
- "uuid": 1717556327482615000
- }
|