Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-8862

Metrics collection service does not publish metrics during shutdown

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.1
    • Component/s: Metrics
    • Labels:
    • Release Notes:
      Fix an issue with losing a few metrics when a container is shutdown.
    • Rank:
      1|hzzx0f:

      Description

      When a program container finished it's task, there maybe metric values that are cached in the metrics collection service and yet to be published (the publish interval is one second). We rely on shutting down the metrics collection service on container completion, expecting it to publish the last chunk of metrics that was cached in memory. However, due to a bug introduced in 4.1.0, the publish on shutdown is not happening. So depending on the timing differences between the metrics collection service publishes metrics and the container termination, we may miss the last set of metrics.

        Attachments

          Activity

            People

            • Assignee:
              terence Terence Yim
              Reporter:
              terence Terence Yim
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: