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

Which tree and which board a dashboard user opens

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

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

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

評価

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

調査の方向性

Start with #2144 and the request handlers for /api/tree/<tree_name>// and /api/hardware/<hardware_id>/. Check how existing endpoint counts are recorded, then trace the client value for dashboard and kci-dev requests. Done means the three listed request cases increment the specified counters with the expected labels and tests verify their IDs and clients.

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

説明

Problem

Endpoint counts show treeDetailsView and hardwareDetails, not which tree or which board. Don asked which trees and which boards the community actually opens. kci-dev hits a fixed list of boards on a schedule, so that traffic has to stay separable from a person opening a page.

Proposal

Depends on #2144 for client. Record two counters. Take the ids from the request.

  • dashboard_tree_requests_by_client_total, labels tree_id and client. tree_id is {origin}:{tree_name}/{branch}, from the path /api/tree/<tree_name>/<branch>/… and the origin query parameter.
  • dashboard_hardware_requests_by_client_total, labels hardware_id and client. The hardware id on /api/hardware/<hardware_id>/….

The board can show every client, or only client="dashboard".

Tests

  • Chrome on /api/tree/mainline/master?origin=maestro increments dashboard_tree_requests_by_client_total for tree_id="maestro:mainline/master" and client="dashboard".
  • Chrome on /api/hardware/<hardware_id>/ increments dashboard_hardware_requests_by_client_total for that id and client="dashboard".
  • kci-dev/<version> on those URLs increments the same counters with client="kci-dev".
主要言語
Python
スター
10
フォーク
32
平均マージ
3日 7時間
マージ済み PR(30日)
27

環境構築

はじめの一歩

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

kernelci/dashboard のほかの issue

kernelci/dashboard の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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