Support to show the status of a database
还没有人认领这个 Issue。
评估
调研方向
没有指定文件、入口点或测试。首先定位数据库集成和状态显示的入口点,然后明确 MySQL INFORMATION_SCHEMA.PROCESSLIST 和 Postgres pg_stat_activity 查询的预期行为及支持的状态字段。完成的标准应是显示约定的数据库状态,并且有测试覆盖该状态。
由索引模型根据 Issue 内容生成。
描述
Description:
Describe the desired behavior, what scenario it enables and how it
would be used.
[optional Relevant Links:]
Any extra documentation required to understand the issue.
MySQL
Get status via the following SQL:
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
PostgresDB
SELECT
pid, -- Process ID
usename AS username, -- Connection user
datname AS database,
client_addr AS host,
state, -- e.g., 'active', 'idle', 'idle in transaction'
query -- Current/last executed query
FROM pg_stat_activity;
- 主要语言
- Go
- 星标
- 369
- 派生
- 67
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LinuxSuRen/api-testing 的其他 Issue
-
难度 5/5 一周以上 新手友好度 1/100
LinuxSuRen/api-testing#877 ·
-
Running via Docker results in an error when accessing the web page.可能重新可做 @yuluo-yx 于 185 天前认领,目前没有进行中的 PR。 未关闭
LinuxSuRen/api-testing#871 · 已指派 1 人 ·
-
bug
难度 3/5 1-2 天 新手友好度 42/100
LinuxSuRen/api-testing#828 · 1 个 reaction ·
-
ospp ui
难度 4/5 3-5 天 新手友好度 38/100
LinuxSuRen/api-testing#729 · 4 条评论 ·
-
[Feat]: Add In-App Feedback Button to Improve User Feedback Channels可能重新可做 @bhavESH-CHAWLA 于 126 天前认领,目前没有进行中的 PR。 未关闭enhancement ospp
LinuxSuRen/api-testing#706 · 4 条评论 · 已指派 1 人 ·
查看 LinuxSuRen/api-testing 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
appbaseio/reactivesearch-api#402 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 85/100
router-for-me/CLIProxyAPI#6399 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
settings.py flaps between reconciles: needsMigrationSetting depends on map iteration order可能已有人在做 @fontaineajulien 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
pulp/pulp-operator#1691 ·