2024年零基础学Flink:监控 on Prometheus & Grafana,程序员的中年危机

Docker步步实践

目录文档:

①Docker简介

②基本概念

③安装Docker

④使用镜像:

⑤操作容器:

⑥访问仓库:

⑦数据管理:

⑧使用网络:

⑨高级网络配置:

⑩安全:

⑪底层实现:

⑫其他项目:

本文已被CODING开源项目:【一线大厂Java面试题解析+核心总结学习笔记+最新讲解视频+实战项目源码】收录

需要这份系统化的资料的朋友,可以点击这里获取

“current”: false,

“max”: false,

“min”: false,

“show”: true,

“total”: false,

“values”: false

},

“lines”: true,

“linewidth”: 1,

“links”: [],

“nullPointMode”: “null”,

“percentage”: false,

“pointradius”: 5,

“points”: false,

“renderer”: “flot”,

“seriesOverrides”: [],

“span”: 3,

“stack”: false,

“steppedLine”: false,

“targets”: [

{

“expr”: “flink_taskmanager_Status_JVM_Memory_Direct_MemoryUsed”,

“hide”: false,

“intervalFactor”: 2,

“legendFormat”: “{{instance}}”,

“metric”: “flink_taskmanager_Status_JVM_Memory_Direct_MemoryUsed”,

“refId”: “A”,

“step”: 4

}

],

“thresholds”: [],

“timeFrom”: null,

“timeShift”: null,

“title”: “TaskManager Memory Used”,

“tooltip”: {

“shared”: true,

“sort”: 0,

“value_type”: “individual”

},

“type”: “graph”,

“xaxis”: {

“mode”: “time”,

“name”: null,

“show”: true,

“values”: []

},

“yaxes”: [

{

“format”: “short”,

“label”: null,

“logBase”: 1,

“max”: null,

“min”: null,

“show”: true

},

{

“format”: “short”,

“label”: null,

“logBase”: 1,

“max”: null,

“min”: null,

“show”: true

}

]

}

],

“repeat”: null,

“repeatIteration”: null,

“repeatRowId”: null,

“showTitle”: false,

“title”: “Dashboard Row”,

“titleSize”: “h6”

},

{

“collapse”: false,

“height”: 276,

“panels”: [

{

“cacheTimeout”: null,

“colorBackground”: false,

“colorValue”: true,

“colors”: [

“rgba(245, 54, 54, 0.9)”,

“rgba(255, 255, 255, 0.89)”,

“rgba(50, 172, 45, 0.97)”

],

“datasource”: “${DS_PROMETHEUS}”,

“format”: “none”,

“gauge”: {

“maxValue”: null,

“minValue”: 0,

“show”: false,

“thresholdLabels”: false,

“thresholdMarkers”: true

},

“hideTimeOverride”: false,

“id”: 3,

“interval”: null,

“links”: [],

“mappingType”: 1,

“mappingTypes”: [

{

“name”: “value to text”,

“value”: 1

},

{

“name”: “range to text”,

“value”: 2

}

],

“maxDataPoints”: 100,

“nullPointMode”: “connected”,

“nullText”: null,

“postfix”: “”,

“postfixFontSize”: “50%”,

“prefix”: “”,

“prefixFontSize”: “50%”,

“rangeMaps”: [

{

“from”: “null”,

“text”: “N/A”,

“to”: “null”

}

],

“span”: 3,

“sparkline”: {

“fillColor”: “rgba(31, 118, 189, 0.18)”,

“full”: false,

“lineColor”: “rgb(31, 120, 193)”,

“show”: true

},

“targets”: [

{

“expr”: “flink_jobmanager_taskSlotsAvailable”,

“hide”: false,

“intervalFactor”: 2,

“legendFormat”: “”,

“metric”: “flink_jobmanager_taskSlotsAvailable”,

“refId”: “A”,

“step”: 20

}

],

“thresholds”: “”,

“title”: “Taskslots available”,

“type”: “singlestat”,

“valueFontSize”: “80%”,

“valueMaps”: [

{

“op”: “=”,

“text”: “N/A”,

“value”: “null”

}

],

“valueName”: “current”

},

{

“cacheTimeout”: null,

“colorBackground”: false,

“colorValue”: true,

“colors”: [

“rgba(245, 54, 54, 0.9)”,

“rgba(255, 255, 255, 0.89)”,

“rgba(50, 172, 45, 0.97)”

],

“datasource”: “${DS_PROMETHEUS}”,

“format”: “none”,

“gauge”: {

“maxValue”: null,

“minValue”: 0,

“show”: false,

“thresholdLabels”: false,

“thresholdMarkers”: true

},

“hideTimeOverride”: false,

“id”: 4,

“interval”: null,

“links”: [],

“mappingType”: 1,

“mappingTypes”: [

{

“name”: “value to text”,

“value”: 1

},

{

“name”: “range to text”,

“value”: 2

}

],

“maxDataPoints”: 100,

“nullPointMode”: “connected”,

“nullText”: null,

“postfix”: “”,

“postfixFontSize”: “50%”,

“prefix”: “”,

“prefixFontSize”: “50%”,

“rangeMaps”: [

{

“from”: “null”,

“text”: “N/A”,

“to”: “null”

}

],

“span”: 3,

“sparkline”: {

“fillColor”: “rgba(31, 118, 189, 0.18)”,

“full”: false,

“lineColor”: “rgb(31, 120, 193)”,

“show”: true

},

“targets”: [

{

“expr”: “flink_jobmanager_taskSlotsTotal”,

“hide”: false,

“intervalFactor”: 2,

“legendFormat”: “”,

“metric”: “flink_jobmanager_taskSlotsTotal”,

“refId”: “A”,

“step”: 20

}

],

“thresholds”: “”,

“title”: “Taskslots total”,

“type”: “singlestat”,

“valueFontSize”: “80%”,

“valueMaps”: [

{

“op”: “=”,

“text”: “N/A”,

“value”: “null”

}

],

“valueName”: “current”

},

{

“cacheTimeout”: null,

“colorBackground”: false,

“colorValue”: true,

“colors”: [

“rgba(245, 54, 54, 0.9)”,

“rgba(255, 255, 255, 0.89)”,

“rgba(50, 172, 45, 0.97)”

],

“datasource”: “${DS_PROMETHEUS}”,

“format”: “none”,

“gauge”: {

“maxValue”: null,

“minValue”: 0,

“show”: false,

“thresholdLabels”: false,

“thresholdMarkers”: true

},

“hideTimeOverride”: false,

“id”: 7,

“interval”: null,

“links”: [],

“mappingType”: 1,

“mappingTypes”: [

{

“name”: “value to text”,

“value”: 1

},

{

“name”: “range to text”,

“value”: 2

}

],

“maxDataPoints”: 100,

“nullPointMode”: “connected”,

“nullText”: null,

“postfix”: “”,

“postfixFontSize”: “50%”,

“prefix”: “”,

“prefixFontSize”: “50%”,

“rangeMaps”: [

{

“from”: “null”,

“text”: “N/A”,

“to”: “null”

}

],

“span”: 3,

“sparkline”: {

“fillColor”: “rgba(251, 129, 76, 0.18)”,

“full”: false,

“lineColor”: “rgb(193, 31, 31)”,

“show”: true

},

“targets”: [

{

“expr”: “flink_jobmanager_numRegisteredTaskManagers”,

“hide”: false,

“intervalFactor”: 2,

“legendFormat”: “”,

“metric”: “flink_jobmanager_numRegisteredTaskManagers”,

“refId”: “A”,

“step”: 20

}

],

“thresholds”: “”,

“title”: “# of TaskManagers”,

“type”: “singlestat”,

“valueFontSize”: “80%”,

“valueMaps”: [

{

“op”: “=”,

“text”: “N/A”,

“value”: “null”

}

],

“valueName”: “current”

},

{

“cacheTimeout”: null,

“colorBackground”: false,

“colorValue”: true,

“colors”: [

“rgba(245, 54, 54, 0.9)”,

“rgba(255, 255, 255, 0.89)”,

“rgba(50, 172, 45, 0.97)”

],

“datasource”: “${DS_PROMETHEUS}”,

“format”: “none”,

“gauge”: {

“maxValue”: null,

“minValue”: 0,

“show”: false,

“thresholdLabels”: false,

“thresholdMarkers”: true

},

“hideTimeOverride”: false,

“id”: 8,

“interval”: null,

“links”: [],

“mappingType”: 1,

“mappingTypes”: [

{

“name”: “value to text”,

“value”: 1

},

{

“name”: “range to text”,

“value”: 2

}

],

“maxDataPoints”: 100,

“nullPointMode”: “connected”,

“nullText”: null,

“postfix”: “”,

“postfixFontSize”: “50%”,

“prefix”: “”,

“prefixFontSize”: “50%”,

“rangeMaps”: [

{

“from”: “null”,

“text”: “N/A”,

“to”: “null”

}

],

“span”: 3,

“sparkline”: {

“fillColor”: “rgba(251, 129, 76, 0.18)”,

“full”: false,

“lineColor”: “rgb(193, 31, 31)”,

“show”: true

},

“targets”: [

{

“expr”: “flink_jobmanager_numRunningJobs”,

“hide”: false,

“intervalFactor”: 2,

“legendFormat”: “”,

“metric”: “flink_jobmanager_numRunningJobs”,

“refId”: “A”,

“step”: 20

}

],

“thresholds”: “”,

“title”: “# of Running Jobs”,

“type”: “singlestat”,

“valueFontSize”: “80%”,

“valueMaps”: [

{

“op”: “=”,

“text”: “N/A”,

“value”: “null”

}

],

“valueName”: “current”

}

],

“repeat”: null,

“repeatIteration”: null,

“repeatRowId”: null,

“showTitle”: false,

“title”: “Dashboard Row”,

“titleSize”: “h6”

},

{

“collapse”: false,

“height”: 255,

“panels”: [

{

“aliasColors”: {},

“bars”: false,

“datasource”: “${DS_PROMETHEUS}”,

“fill”: 1,

“id”: 9,

“legend”: {

“avg”: false,

“current”: false,

“max”: false,

“min”: false,

“show”: true,

“total”: false,

“values”: false

},

“lines”: true,

“linewidth”: 1,

“links”: [],

“nullPointMode”: “null”,

“percentage”: false,

“pointradius”: 5,

“points”: false,

“renderer”: “flot”,

“seriesOverrides”: [],

“span”: 6,

“stack”: false,

“steppedLine”: false,

“targets”: [

{

“expr”: “flink_taskmanager_Status_JVM_GarbageCollector_G1_Young_Generation_Time”,

“intervalFactor”: 2,

“legendFormat”: “{{instance}} Young Gen Time”,

“metric”: “flink_taskmanager_Status_JVM_GarbageCollector_G1_Young_Generation_Count”,

“refId”: “A”,

“step”: 2

},

{

“expr”: “flink_taskmanager_Status_JVM_GarbageCollector_G1_Old_Generation_Time”,

“intervalFactor”: 2,

“legendFormat”: “{{instance}} Old Gen Time”,

“metric”: “flink_taskmanager_Status_JVM_GarbageCollector_G1_Young_Generation_Count”,

“refId”: “B”,

“step”: 2

}

],

“thresholds”: [],

“timeFrom”: null,

“timeShift”: null,

“title”: “TaskManagers Garbage Collection”,

“tooltip”: {

“shared”: true,

“sort”: 0,

“value_type”: “individual”

},

“type”: “graph”,

“xaxis”: {

“mode”: “time”,

“name”: null,

“show”: true,

“values”: []

},

“yaxes”: [

{

“format”: “short”,

“label”: null,

“logBase”: 1,

“max”: null,

“min”: null,

“show”: true

},

{

“format”: “short”,

“label”: null,

“logBase”: 1,

“max”: null,

“min”: null,

“show”: true

}

]

},

{

“aliasColors”: {},

“bars”: false,

“datasource”: “${DS_PROMETHEUS}”,

“fill”: 1,

“id”: 10,

“legend”: {

“avg”: false,

“current”: false,

“max”: false,

“min”: false,

“show”: true,

“total”: false,

“values”: false

},

“lines”: true,

“linewidth”: 1,

“links”: [],

“nullPointMode”: “null”,

“percentage”: false,

“pointradius”: 5,

“points”: false,

“renderer”: “flot”,

“seriesOverrides”: [],

“span”: 6,

“stack”: false,

“steppedLine”: false,

“targets”: [

{

“expr”: “flink_jobmanager_Status_JVM_GarbageCollector_Copy_Time”,

“intervalFactor”: 2,

“legendFormat”: “{{instance}} GC Copy Time”,

“metric”: “flink_jobmanager_Status_JVM_GarbageCollector_Copy_Time”,

“refId”: “A”,

“step”: 2

},

{

“expr”: “flink_jobmanager_Status_JVM_GarbageCollector_MarkSweepCompact_Time”,

“intervalFactor”: 2,

“legendFormat”: “{{instance}} GC MarkSweep Time”,

“metric”: “flink_jobmanager_Status_JVM_GarbageCollector_MarkSweepCompact_Time”,

“refId”: “B”,

“step”: 2

}

],

“thresholds”: [],

“timeFrom”: null,

“timeShift”: null,

“title”: “JobManager Garbage Collection”,

“tooltip”: {

“shared”: true,

“sort”: 0,

“value_type”: “individual”

},

“type”: “graph”,

“xaxis”: {

“mode”: “time”,

“name”: null,

“show”: true,

“values”: []

},

“yaxes”: [

{

“format”: “short”,

“label”: null,

“logBase”: 1,

“max”: null,

“min”: null,

最后

各位读者,由于本篇幅度过长,为了避免影响阅读体验,下面我就大概概括了整理了

本文已被CODING开源项目:【一线大厂Java面试题解析+核心总结学习笔记+最新讲解视频+实战项目源码】收录

需要这份系统化的资料的朋友,可以点击这里获取

e

}

]

},

{

“aliasColors”: {},

“bars”: false,

“datasource”: “${DS_PROMETHEUS}”,

“fill”: 1,

“id”: 10,

“legend”: {

“avg”: false,

“current”: false,

“max”: false,

“min”: false,

“show”: true,

“total”: false,

“values”: false

},

“lines”: true,

“linewidth”: 1,

“links”: [],

“nullPointMode”: “null”,

“percentage”: false,

“pointradius”: 5,

“points”: false,

“renderer”: “flot”,

“seriesOverrides”: [],

“span”: 6,

“stack”: false,

“steppedLine”: false,

“targets”: [

{

“expr”: “flink_jobmanager_Status_JVM_GarbageCollector_Copy_Time”,

“intervalFactor”: 2,

“legendFormat”: “{{instance}} GC Copy Time”,

“metric”: “flink_jobmanager_Status_JVM_GarbageCollector_Copy_Time”,

“refId”: “A”,

“step”: 2

},

{

“expr”: “flink_jobmanager_Status_JVM_GarbageCollector_MarkSweepCompact_Time”,

“intervalFactor”: 2,

“legendFormat”: “{{instance}} GC MarkSweep Time”,

“metric”: “flink_jobmanager_Status_JVM_GarbageCollector_MarkSweepCompact_Time”,

“refId”: “B”,

“step”: 2

}

],

“thresholds”: [],

“timeFrom”: null,

“timeShift”: null,

“title”: “JobManager Garbage Collection”,

“tooltip”: {

“shared”: true,

“sort”: 0,

“value_type”: “individual”

},

“type”: “graph”,

“xaxis”: {

“mode”: “time”,

“name”: null,

“show”: true,

“values”: []

},

“yaxes”: [

{

“format”: “short”,

“label”: null,

“logBase”: 1,

“max”: null,

“min”: null,

最后

各位读者,由于本篇幅度过长,为了避免影响阅读体验,下面我就大概概括了整理了

[外链图片转存中…(img-YjB4rmWR-1715273257776)]

[外链图片转存中…(img-OlOrQ1Mh-1715273257776)]

[外链图片转存中…(img-g92m1wig-1715273257776)]

[外链图片转存中…(img-8L3Sn8rW-1715273257777)]

本文已被CODING开源项目:【一线大厂Java面试题解析+核心总结学习笔记+最新讲解视频+实战项目源码】收录

需要这份系统化的资料的朋友,可以点击这里获取

  • 19
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值