monitor_docker
monitor_docker copied to clipboard
Option to use wildcards for container name excludes
I'm often spinning up new Docker containers of which I do want the stats to be included in HomeAssistant. However since I started running some CI/CD jobs on the same machine there are many new containers created and removed every now and then.
The names of these containers change and therefore cannot be added to the containers_exclude list. However their names do follow a predefined pattern (e.g. TASK-[number]-[description]), so having the ability to use wildcards to exclude container names would be a great solution.
Potentially relevant to #94.
I am looking into this soon, just thinking if labels or exclusion list with wildcards is better/worse.