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

[feature request] add ability to configure projects/prefixes in yaml file

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
gcp, go, prometheus

調査の方向性

この issue にはファイル、テスト、エントリポイントが記載されていません。まず exporter のプロジェクト設定とメトリクスプレフィックス設定のパスを特定し、次に YAML マッピングで GCP プロジェクトごとにメトリクスを選択する方法を確認してください。複数の exporter インスタンスを実行せずに、プロジェクトごとに異なるメトリクスプレフィックスを指定でき、不要なメトリクスリクエストを回避できれば完了です。

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

説明

I have ~250 different GCP projects, with different needs. In some projects I just only need to scrape Composer metrics, in the other projects I need to scrape only BigQuery metrics, or only Compute metrics. Sometimes I need to scrape i.e. Composer+Bigquery, or Compute+Loadbalancing metrics.

I don't want to scrape all the metrics just to catch few metrics that I need in a particular projects. This is cost inefficient (pay per request) and results in throttling by GCP (by the way caused by uncontrollable parallelism).

My workaround is to run simultaneously many exporters with different command line parameters - but it's difficult to maintain.

Is it possible to add ability to configure stackdriver_exporter using .yml file? i.e.

project1-prod: 
  - composer.googleapis.com
project2-prod:
  - composer.googleapis.com
  - bigquery.googleapis.com
project3-prod:
  - bigquery.googleapis.com
  - compute.googleapis.com
主要言語
Go
スター
297
フォーク
117
平均マージ
2日 8時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

prometheus-community/stackdriver_exporter のほかの issue

prometheus-community/stackdriver_exporter の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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