This check monitors JBoss and WildFly applications.
The JBoss/WildFly check is included in the Datadog Agent package so you don't need to install anything else on your JBoss/WildFly host.
This check has a limit of 350 metrics per instance. The number of returned metrics is indicated in the info page. You can specify the metrics you are interested in by editing the configuration below. To learn how to customize the collected metrics, visit the JMX Checks documentation for more detailed instructions. If you need to monitor more metrics, contact Datadog support.
To configure this check for an Agent running on a host:
-
Edit the
jboss_wildfly.d/conf.yaml
file, in theconf.d/
folder at the root of your Agent's configuration directory to start collecting your JBoss or WildFly application server's performance data. See the sample jboss_wildfly.d/conf.yaml for all available configuration options.Depending on your server setup (particularly when using the
remote+http
JMX scheme), you may need to specify a custom JAR to connect to the server. Place the JAR on the same machine as your Agent, and add its path to thecustom_jar_paths
option in yourjboss_wildfly.d/conf.yaml
file.Note: The JMX url scheme is different according to your WildFly version:
- For Wildfly 9 and older:
service:jmx:http-remoting-jmx://<HOST>:<PORT>
- For Wildfly 10+:
service:jmx:remote+http://<HOST>:<PORT>
Refer to the WildFly JMX subsystem configuration page for more information.
- For Wildfly 9 and older:
Available for Agent versions >6.0
-
Collecting logs is disabled by default in the Datadog Agent, enable it in your
datadog.yaml
file:logs_enabled: true
-
Next, edit
jboss_wildfly.d/conf.yaml
by uncommenting thelogs
lines at the bottom. Update the logspath
with the correct path to your JBoss log files.logs: - type: file path: /opt/jboss/wildfly/standalone/log/*.log source: jboss_wildfly service: '<APPLICATION_NAME>'
For containerized environments, see the Autodiscovery with JMX guide.
Available for Agent versions >6.0
Collecting logs is disabled by default in the Datadog Agent. To enable it, see the Kubernetes log collection documentation.
Parameter | Value |
---|---|
<LOG_CONFIG> |
{"source": "jboss_wildfly", "service": "<SERVICE_NAME>"} |
Run the Agent's status subcommand and look for jboss_wildfly
under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
The JBoss/WildFly integration does not include any events.
See service_checks.json for a list of service checks provided by this integration.
Need help? Contact Datadog support.