Skip to content

prometheus-ecs-discovery not able to discover targets on EC2 with disabled DNS hostnames #63

@zsaurabhsabharwal

Description

@zsaurabhsabharwal

On EC2 machines with DNS hostnames disabled, this check fails and as a result returns without processing that particular task.

This can be fixed by removing this check completely and instead extracting the IP address directly from EC2 instance description.

 ip = *t.EC2Instance.PrivateIpAddress

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions