Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-22139

Set of metrics still same, not managed by -Dwildfly.statistics-enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.4.0.CR2
    • MP Metrics
    • None
    • False
    • False
    • Undefined

      My expectation is I can adjust which metrics are exposed by `http://localhost:9990/metrics` with -Dwildfly.statistics-enabled, which is used in default configuration 5 times. But I still get e.g. undertow statistics even when I set -Dwildfly.statistics-enabled=false. Am I missing something?

      ./standalone.sh -Dwildfly.statistics-enabled=false
      http http://localhost:9990/metrics | wc -l
      455
      
      ./standalone.sh -Dwildfly.statistics-enabled=true
      http http://localhost:9990/metrics | wc -l
      455
      

      Also tried changing JAVA_OPTS in standalon.conf, but still no change.

              Unassigned Unassigned
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: