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

Feature request: register pprof endpoint for profiling usage

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

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

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

評価

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

調査の方向性

まず、operator とその ClickHouse メトリクスコレクター sidecar が使用する Go HTTP サーバーまたはメトリクスエンドポイントを特定します。net/http/pprof のドキュメントを読み、既存のエンドポイント公開とアクセス制御を確認します。未使用時に通常の動作へ影響を与えることなくプロファイリング用の pprof エンドポイントを利用できれば完了です。

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

説明

Hi team, we've deployed clickhouse with this clickhouse operator in production.
Sometime we suffered OOM for CH metrics collector sidecar container, so I'm wondering if we could register pprof HTTP endpoint, so we could easily profile the process when needed?

  • pprof is the standard package golang provides: https://pkg.go.dev/net/http/pprof
  • There's no runtime performance or resource impact when no profiling request, in other words, it's request-based
  • It provides a few useful information to inspect the process, including but not confined to memory, CPU, mutex, etc

I found others also met OOM issue in the past, which I believe also benefits from pprof endpoint: https://github.com/Altinity/clickhouse-operator/issues/176

Thank you!

主要言語
Go
スター
2.6k
フォーク
577
平均マージ
1日 6時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

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

Altinity/clickhouse-operator のほかの issue

Altinity/clickhouse-operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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