[Task] Urgent need for global or environment variables
- Dominant language
- Java
- Stars
- 7.4k
- Forks
- 1.3k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 32
Description
### Description
我的需求是这样,第一步获取 token(单独一个监控) , 第二步 通过token 访问其它接口(很多不同监控),现在的做法是每个监控都要把 请求token 的操作带着,不是很方便 ,能否添加如全局变量,环境变量之类的功能,支持不同监控之间传递参数 ,
在 https://hertzbeat.apache.org/docs/advanced/extend-http-example-token 中只实现同一个监控中token 的传递, token 是限制在同一监控的不同监控指标使用,我期望的是 可以 跨 监控 使用 ,实现类似全局变量,环境变量之类的功能 ,多谢。
### Task List
_No response_
Contributor guide
Research direction
The issue names no source files or tests. Start by reading the advanced/extend-http-example-token documentation, then identify the entry points for monitor variable handling and define how a token produced by one monitor would be available to other monitors. Done should include a documented cross-monitor variable flow and tests covering token acquisition and reuse.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100