Need to update rules
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- prometheus
- Domain
- observability
Research direction
Locate the configuration containing the replace_expr rules and inspect how existing monitoring rules are defined and validated. Review the three named rules and their PromQL expressions, then determine the expected updated configuration; done means the requested rules are updated and any available rule validation passes.
Written by the indexing model from the issue text.
Description
replace_expr:
- rule_name: "pd_cluster_low_space"
expr: '(sum(pd_cluster_status{type="store_low_space_count"}) by (instance) > 0) and (sum(etcd_server_is_leader) by (instance) > 0)'
- rule_name: "pd_cluster_lost_connect_tikv_nums"
expr: '(sum ( pd_cluster_status{type="store_disconnected_count"} ) by (instance) > 0) and (sum(etcd_server_is_leader) by (instance) > 0)'
- rule_name: "pd_pending_peer_region_count"
expr: '(sum( pd_regions_status{type="pending_peer_region_count"} ) by (instance) > 100) and (sum(etcd_server_is_leader) by (instance) > 0)'
- Dominant language
- Go
- Stars
- 29
- Forks
- 46
- Avg merge
- 8h 3m
- Merged PRs (30d)
- 62
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pingcap/monitoring
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pingcap/monitoring#1284 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
pingcap/monitoring#1179 ·
Maintainers usually reply within 1 day
-
Add new ping latency metrics to align with alert rulePossibly taken @yibin87 claimed this 231 days ago. Openaffects-8.5 type/cherry-pick-for-release-8.5
pingcap/monitoring#1071 · 1 assignee ·
Maintainers usually reply within 1 day
-
contribution first-time-contributor
Difficulty 4/5 3-5 days Newbie friendliness 35/100
pingcap/monitoring#1030 · 1 comment ·
Maintainers usually reply within 1 day
-
contribution first-time-contributor
Difficulty 4/5 3-5 days Newbie friendliness 35/100
pingcap/monitoring#901 · 1 comment ·
Maintainers usually reply within 1 day
All issues in pingcap/monitoring
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Add CybeDefendOpen
Difficulty 1/5 Under an hour Newbie friendliness 66/100
slavakurilyak/awesome-ai-agents#1031 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
kagent-dev/kagent#3792 ·
Maintainers usually reply within 1 day
-
ai-driven-qa bug claude Minor
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linagora/cozy-stack#5374 ·
Maintainers usually reply within 1 day
-
new-compilers request
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
compiler-explorer/compiler-explorer#9640 ·
Maintainers usually reply within 1 day