Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-1275 Replace Hawkular Metrics with Prometheus
  3. HAWKULAR-1320

Need EAP6 jmx exporter config and related agent config

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None

      The hawkular javaagent supports EAP6. We have an yml config for the agent when running on EAP6, but we need to be sure it specifies the correct metric family names/labels and we need to define a jmx exporter config file for it.

      So, we need to make sure this EAP6 javaagent config has all the correct metric family/labels:

      https://github.com/hawkular/hawkular-agent/blob/hawkular-1275/eap6-support/hawkular-javaagent-wildfly-feature-pack-eap6/src/main/resources/featurepack/content/standalone/configuration/hawkular-javaagent-config.yaml

      and we need to copy this wildfly-10 jmx exporter yaml:

      https://github.com/hawkular/hawkular-commons/blob/hawkular-1275/hawkular-inventory-parent/hawkular-inventory-service/src/main/resources/wildfly-10-jmx-exporter.yml

      call it eap6-jmx-exporter.yml or wildfly-8-jmx-exporter.yml (I think EAP6 is based on WF8??) and make sure all the JMX MBeans and attribs match those found in EAP6.

      We then need to tell the agent to use that when on EAP6 - we can do that here in the EAP6 specific agent config yml:

      https://github.com/hawkular/hawkular-agent/blob/hawkular-1275/eap6-support/hawkular-javaagent-wildfly-feature-pack-eap6/src/main/resources/featurepack/content/standalone/configuration/hawkular-javaagent-config.yaml#L30

            lponce@redhat.com Lucas Ponce
            jmazzitelli John Mazzitelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: