Skip to content

Filtering targets #7

Open
Open
@magsad

Description

@magsad

Hi, thanks for a great tool, really appreciate it! :) Please forgive me for a silly question, but I'm struggling to filter out some targets from being discovered. I have two ecs clusters and prometheus running for each separately (aka dev/prod). However, the tool is picking up both clusters for both Prometheuses(??) when I add the PROMETHEUS_TARGET="true" as environment variable (as designed of course).

How can I filter the data that is picked up by prometheus ecs discoverer by either cluster name or environment? Is it by setting docker labels?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions