Configuration Options for Docker Tags

You can configure the Machine Agent to collect different types of tags. By default, all tags are collected. To turn off tag collection, set dockerTagsEnabled to "false".

  1. Edit the <machine_agent_home>/extensions/DockerMonitoring/DockerMonitoringConfig.yml file.
  2. Under the containerMonitoringConfig section, set dockerTagsEnabled: "false"
    CODE
    # WARNING: Before making any changes to this file read the following section carefully
    # After editing the file, make sure the file follows the yml syntax. Common issues include
    # - Using tabs instead of spaces
    # - File encoding should be UTF-8
    #
    # The safest way to edit this file is to copy paste the examples provided and make the
    # necessary changes using a plain text editor instead of a WYSIWYG editor.
    # samplingInterval indicates how often to gather metric data. Units in milliseconds.
    samplingInterval: 30000
    containerMonitoringConfig:
    # containerProcessSelectorRegex defines regular expression to evaluate the processes in
    # each running container to be monitored by the machine agent. The regular expression is
    # compared against each process full command line within running
    # If the pattern matches, then the machine agent start monitoring it.
    containerProcessSelectorRegex: ".*[ ]-Dappdynamics.*"
    dockerTagsEnabled: "false"