Include the geoip processor in clickstack-otel-collector

Offen
#3,494 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
docker
Bereich
observability

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
10.1k
Forks
527
Ø Merge
1 T. 20 Std.
Gemergte PRs (30 T.)
186

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ClickHouse/ClickStack

Alle Issues in ClickHouse/ClickStack

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.