Skip to content

K8S Processor: configure tag name with source of the IP address #1079

Closed
@pmm-sumo

Description

Is your feature request related to a problem? Please describe.

It would be good to introduce some flexibility into name of the tag which includes source IP. Currently, following tags are being considered:

  • k8s.pod.ip - typically added when passthrough mode is employed
  • ip - legacy passthrough mode tag, also used by some clients (e.g. Jaeger)
  • host.hostname - used by some metrics sources (e.g. Prometheus) - currently enabled only for metrics

Describe the solution you'd like
Introduce following configuration entry:

  • ip_extraction_by_attribute_labels - by default [ip, k8s.pod.ip, host.hostname]

Describe alternatives you've considered

Perhaps host.hostname can be used as an attribute extracted by default for metrics only (which would match the current behaviour, though make the code it bit more complicated)

Additional context
N/A

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions