In each integration’s runtime.properties the user can specify what label/tag name to select. Label values can have multiple values if formatted as a comma separated list or with the '+' as the tag delimiter (some AWS resources do not support commas in the tag). For example the tag/label key could be something like 'Service' and the value 'app1,app2,app3' or 'app1+app2+app3'

 

 

collect.integrationName.apptags.label-name=

 

/opt/wildfly/standalone/deployments/collector-plugins/integrationName.ear/lib/config.jar/runtime.properties

 

For example in VMware the settings file is:

/opt/wildfly/standalone/deployments/collector-plugins/VMwareCollector.ear/lib/config.jar/runtime.properties

 

And the relevant setting to change is:

collect.vmware.apptags.label-name=

 

After changing this Hyperglance must be restarted.

sudo service wildfly restart


NOTE: When using containers you must either kill the wildfly PID (wildfly will automatically restart) or restart the container.


1. Get a bash console for the container
        
docker exec -i -t container_name bash
2. 
Find the PID that wildfly is running under
        ps -aux | grep wildfly
3. 
Kill the PID
        kill wildfly_pid
4. 
Make sure wildfly is restarted
        ps -aux | grep wildfly

See below for output showing how to do this. The commands are bolded and the PIDs in red:

root@ubuntu-16:~# docker exec -i -t hyperglance bash
[root@2f7a1d244ff1 /]#
[root@2f7a1d244ff1 /]#
[root@2f7a1d244ff1 /]# ps -aux | grep wildfly
wildfly     18  0.0  0.1  11640  2596 ?        S    12:50   0:00 /bin/sh /opt/wildfly/bin/standalone.sh -c standalone.xml
wildfly     98  135 33.7 3660904 691492 ?      Sl   12:50   0:33 /opt/wildfly/java-x64/bin/java -D[Standalone] -server -Xms64m -Xmx1024m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -enableassertions -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.security.ignoreHttpsHost=true -Dorg.jboss.boot.log.file=/opt/wildfly/standalone/log/server.log -Dlogging.configuration=file:/opt/wildfly/standalone/configuration/logging.properties -jar /opt/wildfly/jboss-modules.jar -mp /opt/wildfly/modules org.jboss.as.standalone -Djboss.home.dir=/opt/wildfly -Djboss.server.base.dir=/opt/wildfly/standalone -c standalone.xml
root       281  0.0  0.1  12472  2212 ?        S+   12:50   0:00 grep --color=auto wildfly
[root@2f7a1d244ff1 /]# kill 98
[root@2f7a1d244ff1 /]# ps -aux | grep wildfly
wildfly    289  0.0  0.1  11640  2716 ?        S    12:50   0:00 /bin/sh /opt/wildfly/bin/standalone.sh -c standalone.xml
wildfly    336  0.0  3.0 3250288 62504 ?       Sl   12:50   0:00 /opt/wildfly/java-x64/bin/java -D[Standalone] -server -Xms64m -Xmx1024m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -enableassertions -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.security.ignoreHttpsHost=true -Dorg.jboss.boot.log.file=/opt/wildfly/standalone/log/server.log -Dlogging.configuration=file:/opt/wildfly/standalone/configuration/logging.properties -jar /opt/wildfly/jboss-modules.jar -mp /opt/wildfly/modules org.jboss.as.standalone -Djboss.home.dir=/opt/wildfly -Djboss.server.base.dir=/opt/wildfly/standalone -c standalone.xml
root       350  0.0  0.1  12472  2228 ?        S+   12:50   0:00 grep --color=auto wildfly
[root@2f7a1d244ff1 /]#