couchbaselabs / couchbaselabs/cbprometheus_python

Allow for Multiple Clusters to be specified

オープン
#34 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
8
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

説明

since the exporter is stateless and just performing REST API calls, there is really no reason that we need to have a separate instance per couchbase installation. We can still support the ENV variables and treat it as a single cluster, but it would be useful to have a JSON file of clusters.

Prometheus provides a way to add query string parameters, this could be used to specify the cluster that you want to use.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず exporter のエントリーポイントと既存の ENV ベースのクラスター設定を読み、次に各リクエストで REST API 呼び出しがどのように選択されるかを追跡します。単一クラスター向けの ENV の動作を維持しながら、JSON のクラスターリストと Prometheus クエリパラメーターによって対象を選択する方法を定義します。リクエストが一貫して選択されたクラスターに到達し、既存の設定が引き続き機能すれば完了です。

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

評価

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

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

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