Skip to content

Conversation

@EduJGURJC
Copy link

@EduJGURJC EduJGURJC commented Jan 11, 2018

"filter" field has been added to filter containers by name with a regexp. There are two sub-fields:

  • containers:
    • If this field is not set, metrics of All containers are sent.
    • If this field has a regexp, only the metrics of the containers whose names match the regexp are sent.
  • exclude:
    • If this field is not set, no containers are excluded
    • If this field has a regexp, the containers whose names match the regexp are excluded.

Both fields can be combined to filter containers. For example, you can send metrics of all containers whose names starts with "example_" but exclude the container with name "example_2"

@EduJGURJC EduJGURJC changed the title Added filter field to filter containers Added "filter" field to filter containers by name Jan 15, 2018
@JeroenKops
Copy link

Exactly what I need. Why isn't this pull request merged?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants