Skip to content

Commit

Permalink
[improve]Optimize Hbase Master and Regionserver monitoring (apache#2624)
Browse files Browse the repository at this point in the history
Co-authored-by: shown <[email protected]>
Co-authored-by: Logic <[email protected]>
  • Loading branch information
3 people authored Aug 29, 2024
1 parent 466ac37 commit 3eb6fb3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions manager/src/main/resources/define/app-hbase_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ params:
metrics:
# metrics - Server
- name: Server
i18n:
zh-CN: Master服务信息
en-US: Master Service Info
# metrics scheduling priority(0->127)->(high->low), metrics with the same priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled first, only availability metrics collect success will the scheduling continue
priority: 0
Expand Down Expand Up @@ -125,6 +128,9 @@ metrics:
parseType: jsonPath
parseScript: '$.beans[?(@.name == "Hadoop:service=HBase,name=Master,sub=Server")]'
- name: Rit
i18n:
zh-CN: Region In Transition 信息
en-US: Region In Transition Info
# metrics scheduling priority(0->127)->(high->low), metrics with the same priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled first, only availability metrics collect success will the scheduling continue
priority: 0
Expand Down Expand Up @@ -168,6 +174,9 @@ metrics:
parseType: jsonPath
parseScript: '$.beans[?(@.name == "Hadoop:service=HBase,name=Master,sub=AssignmentManager")]'
- name: basic
i18n:
zh-CN: 基础信息
en-US: Basic Info
# metrics scheduling priority(0->127)->(high->low), metrics with the same priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled first, only availability metrics collect success will the scheduling continue
priority: 0
Expand Down
9 changes: 9 additions & 0 deletions manager/src/main/resources/define/app-hbase_regionserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ params:
metrics:
# metrics - Server
- name: Server
i18n:
zh-CN: RegionServer 服务信息
en-US: RegionServer Service Info
# metrics scheduling priority(0->127)->(high->low), metrics with the same priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled first, only availability metrics collect success will the scheduling continue
priority: 0
Expand Down Expand Up @@ -435,6 +438,9 @@ metrics:
parseScript: '$.beans[?(@.name == "Hadoop:service=HBase,name=RegionServer,sub=Server")]'
# metrics - IPC
- name: IPC
i18n:
zh-CN: RegionServer IPC 信息
en-US: RegionServer IPC Info
# metrics scheduling priority(0->127)->(high->low), metrics with the same priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled first, only availability metrics collect success will the scheduling continue
priority: 0
Expand Down Expand Up @@ -490,6 +496,9 @@ metrics:
parseScript: '$.beans[?(@.name == "Hadoop:service=HBase,name=RegionServer,sub=IPC")]'
# metrics - JVM
- name: JVM
i18n:
zh-CN: RegionServer JVM 信息
en-US: RegionServer JVM Info
# metrics scheduling priority(0->127)->(high->low), metrics with the same priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled first, only availability metrics collect success will the scheduling continue
priority: 0
Expand Down

0 comments on commit 3eb6fb3

Please sign in to comment.