Include the geoip processor in clickstack-otel-collector

Đang mở
#3,494 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker
Lĩnh vực
observability

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
10.1k
Fork
527
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
186

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ClickHouse/ClickStack

Tất cả issue của ClickHouse/ClickStack

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.