Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "filter" field to filter containers by name #149

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

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