Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3737

PrometheusMetricsDroolsListener is repeatedly added to the same ksession instance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.11.1.GA
    • 7.10.1.GA
    • Kie-Server
    • None
    • 1
    • False
    • False
    • CR1
    • +
    • Undefined
    • Hide

      1. Enable prometheus metrics

      <property name="org.kie.prometheus.server.ext.disabled" value="false"/>
      

      2. Call a stateless ksession with the same lookup id in kie-server multiple times.
      3. Capture a heap dump
      4. In the heap dump, look at StatelessKnowledgeSessionImpl.listeners. It contains multiple PrometheusMetricsDroolsListener instances.

      Show
      1. Enable prometheus metrics <property name= "org.kie.prometheus.server.ext.disabled" value= "false" /> 2. Call a stateless ksession with the same lookup id in kie-server multiple times. 3. Capture a heap dump 4. In the heap dump, look at StatelessKnowledgeSessionImpl.listeners. It contains multiple PrometheusMetricsDroolsListener instances.
    • 2021 Week 22-24 (from May 31)

      DroolsKieSessionLookupHandler repeatedly adds PrometheusMetricsDroolsListener to the same ksession instance. It will cause performance degrade especially for stateless ksession. Also metric count is not reliable.

            rhn-support-tkobayas Toshiya Kobayashi
            afanjula@redhat.com Alberto Fanjul Alonso
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: