dromara / dromara/dynamic-tp

Virtual Thread 监控告警增强

Open
#513 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
4.8k
Forks
860
PR merge metrics
No merged PRs in 30d

Description

**首先感谢您使用 DynamicTp,如果对项目有好的想法建议,请按照下述模板提议讨论,请使用 Markdown 语法**。

### 方案描述
1. 监控维度主要监控pin的最大时间,总时间,当前时间点被pin住的数量和虚拟线程提交失败的数量(这个是否需要加入tpxx体系里,因为似乎jfr里是单独监控的);
![adde12609980650283ad3431277b841](https://github.com/user-attachments/assets/d69bfe0b-21b9-4699-9974-9b33a60b6a99)
jfr以此方式进行记录
![8612e250a1bdb79f1902199cf3651d4](https://github.com/user-attachments/assets/a816df37-04d2-4260-8f7b-226cb6c5d118)

2. 告警可以围绕当前被pin住的任务数量及pin的最大时间的阈值来进行告警;

3. 配置方面则配置告警策略的阈值这些
### 应用场景
JDK21
### 难度风险

### 外部依赖

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by reviewing the existing monitoring and alerting implementation and its JDK 21 virtual-thread or JFR integration. Done would require agreed metrics, thresholds, configuration, and alert behavior, but the proposal does not define them.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.