Include the geoip processor in clickstack-otel-collector

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker
領域
observability

調査の方向性

Start with packages/otel-collector/builder-config.yaml and check how other contrib processors are declared and how the collector image is built. Add processor/geoipprocessor to the builder configuration, then verify the built clickhouse/clickstack-otel-collector recognizes geoip in a config using a mounted MaxMind database.

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

説明

enhancement external Needs Feedback

What are you trying to do?

Populate the "Top Countries" tile and the Country filter on the built-in Browser RUM dashboard.

The clickhouse/clickstack-otel-collector image does not include the geoip processor, so it cannot be enabled through CUSTOM_OTELCOL_CONFIG_FILE. On 2.42.0, a config referencing it fails at startup:

'processors' unknown type: "geoip" for id: "geoip"

What would you like to see?

Add processor/geoipprocessor from opentelemetry-collector-contrib to packages/otel-collector/builder-config.yaml, so it can be enabled with a mounted MaxMind database:

processors:
  geoip:
    providers:
      maxmind:
        database_path: /etc/otel/GeoLite2-City.mmdb
    context: resource
    attributes: [client.address]

Alternatives you've considered

  • A second, upstream contrib collector in front of the ClickStack one to do the lookup.
  • Forking the builder config and rebuilding the image.

New issues start as Needs Feedback so we can discuss scope before anyone
writes code. Once a maintainer swaps that for Accepting PR, the issue is ready
to be picked up — see
CONTRIBUTING.md.

主要言語
TypeScript
スター
10.1k
フォーク
527
平均マージ
1日 20時間
マージ済み PR(30日)
186

環境構築

はじめの一歩

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

ClickHouse/ClickStack のほかの issue

ClickHouse/ClickStack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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