Add hot config reload
还没有人认领这个 Issue。
评估
调研方向
首先定位现有的配置加载代码和实时端点入口。先检查当前如何处理 pyroscope.properties 和命令行选项,再决定应如何纳入提议的轮询间隔和 /reload 端点。完成的标准是确定一种无需重启即可处理 ConfigMap 更新的重载机制,其中包括所述的间隔配置。
由索引模型根据 Issue 内容生成。
描述
Add configurable hot config file reload mechanism to support kube ConfigMap pyroscope.properties updates that dont trigger restart.
Linux inotify (upon which the jvm watch service virtualizes) has pitfalls, like inability to track NAS which are provided in modern clouds (like Amazon EFS NAS). I guess other OSs have push pitfalls, too. Also, some OSs dont support push, so the jvm polls internally. Thus, I would suggest pull model with 15m or so default interval configurable via --config-check-interval and a /reload real time endpoint.
- 主要语言
- Java
- 星标
- 125
- 派生
- 48
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
grafana/pyroscope-java 的其他 Issue
-
Clean up dead publishing repository config and credentials in subproject build files可能已有人在做 @arnabnandy7 于 24 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
grafana/pyroscope-java#294 ·
-
难度 4/5 3-5 天 新手友好度 54/100
grafana/pyroscope-java#371 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 45/100
grafana/pyroscope-java#368 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
grafana/pyroscope-java#283 ·
-
libasyncProfiler-linux-x64.so dump in /tmp可能重新可做 @korniltsev-grafanista 于 263 天前认领,目前没有进行中的 PR。 未关闭
grafana/pyroscope-java#250 · 1 条评论 · 已指派 1 人 ·
查看 grafana/pyroscope-java 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
apache/rocketmq-dashboard#6872 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ADORSYS-GIS/token-status-link#168 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ADORSYS-GIS/keycloak-oid4vp-plugin#232 ·
维护者通常 2 天内回复
-
Type/Improvement
难度 2/5 1-3 小时 新手友好度 62/100
wso2/product-integrator-mi#5099 ·
维护者通常 1 天内回复