You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Urmi Mustafi (Jira)" <ji...@apache.org> on 2023/12/21 20:38:00 UTC

[jira] [Created] (GOBBLIN-1978) Create DagActionStoreMonitor metrics before Loading DagActions

Urmi Mustafi created GOBBLIN-1978:
-------------------------------------

             Summary: Create DagActionStoreMonitor metrics before Loading DagActions
                 Key: GOBBLIN-1978
                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1978
             Project: Apache Gobblin
          Issue Type: Bug
          Components: gobblin-service
            Reporter: Urmi Mustafi
            Assignee: Abhishek Tiwari


We encounter a NullPointerException when initializing the DagActionStoreMonitor after moving the loading of DagActions on startup from the DagManager to the DagActionStoreMonitor. Metrics for the DagActionStoreMonitor were initialized by its parent class the HighLevelConsumer only before starting to consume Kafka messages, however with the refactor these metrics are needed beforehand. In this PR I separate the creation of these metrics into a separate function and call it before loading dagActions. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)