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

[Feature] Group Redis resources under the same operation

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

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

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

評価

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

調査の方向性

この issue ではファイルもテストも指定されていません。まず PHP Redis の tracing instrumentation を見つけ、ここで説明されている Java redis.query の動作と、その operation naming を比較してください。完了条件は、正確なリクエスト数を得るために Redis 呼び出しがグループ化され、合計値が偏らないよう必要に応じて接続操作が分離されていることです。

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

説明

cat:usability feature-request

Is your feature request related to a problem? Please describe.
Currently each PHP Redis call is traced under a separate operation:
image

This makes is very difficult to see how many requests are actually being done, as it would mean having to click each operation and see. Additionally on the APM overview you can only see the primary operation count, which isn't a very good indication of how active the server is.

Describe the solution you'd like
Under Java, Datadog logs all operations under the same operation (redis.query):
image

This way you get a more accurate count of requests being done.

One change that might be needed is to group connects under a separate operation (for example redis.connect) because under PHP you generally connect every requests (vs Java which can have keep connections open), otherwise the numbers might get skewed.

主要言語
PHP
スター
558
フォーク
192
平均マージ
2日 3時間
マージ済み PR(30日)
104

環境構築

はじめの一歩

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

DataDog/dd-trace-php のほかの issue

DataDog/dd-trace-php の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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