Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1270

Pull out MetricsReporter lifecycle from Container

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 0.15.0
    • None
    • None

    Description

      Currently, the lifecycle of many components, including the MetricsReporter is tied to the container lifecycle. Due to this, StreamProcessor/JobCoordinator will need to manage their own metrics registry and reporters.
      In order to unify the stack, the ideal place for metricsReporter lifecycle will be in the user-facing apis - LocalContainerRunner & LocalApplicationRunner. Every component will simply register its metrics to the reporter dynamically. Iiuc, the MetricsReporter can implement a ReadableMetricsRegistryListener interface to register metrics dynamically.

      Attachments

        Issue Links

          Activity

            People

              navina Navina Ramesh
              navina Navina Ramesh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: