Include the geoip processor in clickstack-otel-collector

未關閉
#3,494 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
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 小時
30 天內合併 PR
186

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ClickHouse/ClickStack 的其他 Issue

查看 ClickHouse/ClickStack 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。