Skip to content

How to choose IP when multiple are available ? #17

@psycofdj

Description

@psycofdj

Hi,

Is there a way to configure bosh_exporter to select a particular IP when multiple IPs are available for a bosh-instance ?

In my use-case, one of my deployed instance has two IPs:

  • a public IP accessible from prometheus' deployment
  • a private IP, inaccessible from prometheus

Unfortunately, bosh_exporter takes the private IP when dumping bosh_target_groups.json file which lead to an unreachable node in prometheus.

From what I understand in the code here and here, the behavior seems hard-coded but maybe I'm missing something.

If no known workaround is available, are you willing my contribution on this feature ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions