Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Deliver scoped metrics reports from metrics rules

オープン
#2,116 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
64/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, sql

調査の方向性

backend/data/notifications/metrics/ から始め、メトリクスルールと metrics_report.txt.j2 のフローを調査し、次に docs/notifications.md と既存の週次ジョブの動作を確認します。デフォルトのグローバルメールが変更されていないこと、スコープ付きレポートが各ルールの受信者にのみ届くこと、設定されたスコープがキャッシュのウォームアップでカバーされていること、クエリとキャッシュへの影響が文書化されていることを検証します。

索引モデルが issue の本文から書いたものです。

説明

notifications

Goal

On the weekly metrics job, send scoped metrics reports per rule in backend/data/notifications/metrics/. Keep the global weekly community mail unchanged.

Depends on: #2114

(Can be implemented in parallel with subscription new-issues delivery; does not depend on that issue.)

Today vs after

Today After
Metrics report One global weekly mail (fixed To/Cc in cron) Same default, plus scoped reports per metrics rule

Community delivery (unchanged)

Default weekly send: To [email protected], Cc [email protected], Saturday cron, existing cache warm.

Subscription delivery

For each rule in metrics/, filter get_metrics_data() by rule trees, hardware, origins; render metrics_report.txt.j2 for period_days; send to rule recipients. One rule spanning multiple trees → one email.

Note: Tree scoping requires SQL joins (incidents/builds/checkouts); extend cache warm for configured scopes.

Acceptance criteria

  • Default config → single global weekly metrics mail unchanged
  • At least one metrics rule sends scoped report to its recipients only
  • Query/cache impact documented; warm covers subscribed scopes
  • docs/notifications.md updated
主要言語
Python
スター
9
フォーク
31
平均マージ
5日 22時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

kernelci/dashboard のほかの issue

kernelci/dashboard の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。