Skip to content

Include the geoip processor in clickstack-otel-collector #3494

Open

Description

@s-summers

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions