当前位置:网站首页>Using Prometheus to monitor spark tasks
Using Prometheus to monitor spark tasks
2022-07-27 15:37:00 【wankunde】
BackGroud
at present spark Support Graphite Dot , however Graphite By default, the corresponding file will be generated for each dot , There are only two point data directly ,graphite The generated files also have 200 many k, Yes Graphite Cause a lot of pressure . So consider using Prometheus Instead of Graphite.
Prometheus The default is pull Pattern , and Graphite Different , and Spark3.0 The new management method is also K8S Amicable . So consider Use Prometheus combination Graphite Exporter The way .
Graphite Exporter New profile
mappings:
- match: '*.applicationMaster.*'
name: spark_app_application_master
labels:
application: $1
qty: $2
- match: '*.*.executor.filesystem.*.*'
name: spark_app_filesystem_usage
labels:
application: $1
executor_id: $2
fs_type: $3
qty: $4
- match: '*.*.jvm.*.*'
name: spark_app_jvm_memory_usage
labels:
application: $1
executor_id: $2
mem_type: $3
qty: $4
- match: '*.*.ExecutorMetrics.*'
name: spark_app_executor_jvm_metrics
labels:
application: $1
executor_id: $2
mem_type: $3
- match: '*.*.executor.jvmGCTime.count'
name: spark_app_jvm_gcTime_count
labels:
application: $1
executor_id: $2
- match: '*.*.jvm.pools.*.*'
name: spark_app_jvm_memory_pools
labels:
application: $1
executor_id: $2
mem_type: $3
qty: $4
- match: '*.*.ExternalShuffle.shuffle-client.*'
name: spark_app_shuffle_client
labels:
application: $1
executor_id: $2
qty: $3
- match: '*.*.executor.*.count'
name: spark_app_executor_task_metrics
labels:
application: $1
executor_id: $2
qty: $3
- match: '*.*.executor.threadpool.*'
name: spark_app_executor_tasks
labels:
application: $1
executor_id: $2
qty: $3
- match: '*.*.BlockManager.*.*'
name: spark_app_block_manager
labels:
application: $1
executor_id: $2
type: $3
qty: $4
- match: '*.*.DAGScheduler.*.*'
name: spark_app_dag_scheduler
labels:
application: $1
executor_id: $2
type: $3
qty: $4
- match: '*.*.CodeGenerator.*.*'
name: spark_app_code_generator
labels:
application: $1
executor_id: $2
type: $3
qty: $4
- match: '*.*.HiveExternalCatalog.*.*'
name: spark_app_hive_external_catalog
labels:
application: $1
executor_id: $2
type: $3
qty: $4
- match: '*.*.*.StreamingMetrics.*.*'
name: spark_app_app_streaming_metrics
labels:
application: $1
executor_id: $2
app_name: $3
type: $4
qty: $5
Spark To configure
Spark Configuration is still used Graphite Management configuration , Just change the port to 9109 that will do
- Reference documents : https://blog.csdn.net/An1090239782/article/details/104945390
边栏推荐
- Multi table query_ Sub query overview and multi table query_ Sub query situation 1 & situation 2 & situation 3
- [正则表达式] 匹配多个字符
- Network equipment hard core technology insider router 20 dpdk (V)
- Leetcode 244 week competition - post competition supplementary question solution [broccoli players]
- Leetcode 456.132 mode monotone stack /medium
- Distributed lock
- 【剑指offer】面试题51:数组中的逆序对——归并排序
- Leetcode 1143. dynamic programming of the longest common subsequence /medium
- Unity mouse controls the first person camera perspective
- Pictures to be delivered
猜你喜欢

Leetcode 240. search two-dimensional matrix II medium

Spark 3.0 DPP实现逻辑

Spark TroubleShooting整理

Spark 任务Task调度异常分析

EMC design scheme of USB2.0 Interface

【剑指offer】面试题42:连续子数组的最大和——附0x80000000与INT_MIN

QT (IV) mixed development using code and UI files

Leetcode 783. binary search tree node minimum distance tree /easy

MySQL interview 40 consecutive questions, interviewer, if you continue to ask, I will turn my face

QT (XIII) qchart drawing line chart
随机推荐
The first common node of the two linked lists of "Jianzhi offer"
一文读懂鼠标滚轮事件(wheelEvent)
【剑指offer】面试题46:把数字翻译成字符串——动态规划
设置提示框位置随鼠标移动,并解决提示框显示不全的问题
After configuring corswebfilter in grain mall, an error is reported: resource sharing error:multiplealloworiginvalues
Spark 3.0 Adaptive Execution 代码实现及数据倾斜优化
Huayun data creates a perfect information technology and innovation talent training system to help the high-quality development of information technology and innovation industry
Leetcode 781. rabbit hash table in forest / mathematical problem medium
Network equipment hard core technology insider router Chapter 16 dpdk and its prequel (I)
JS find the maximum and minimum values in the array (math.max() method)
Some binary bit operations
Pytorch replaces some components in numpy. / / please indicate the source of the reprint
后台返回来的是这种数据,是什么格式啊
Unity performance optimization ----- drawcall
HaoChen CAD building 2022 software installation package download and installation tutorial
【剑指offer】面试题52:两个链表的第一个公共节点——栈、哈希表、双指针
Network equipment hard core technology insider router Chapter 3 Jia Baoyu sleepwalking in Taixu Fantasy (middle)
Network equipment hard core technology insider router 19 dpdk (IV)
How to edit a framework resource file separately
npm install错误 unable to access