Uploaded image for project: 'tsdr'
  1. tsdr
  2. TSDR-52

Accept metrics list when bytes and packet metrics are missing

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      In NodeConnectorStatisticsChangeHandler a TDRMetricRecord list is built with direct array[] access from the FlowCapableNodeConnectorStatistics supplied.  In some cases, a FlowCapableNodeConnectorStatistics instance is supplied without bytes and packet metrics.  This fix enables building the TSDRMetricRecord with or without the bytes and packet metrics.  It was failing when FlowCapableNodeConnectorStatistics did not supply the bytes and packet metrics.

      If this effects downstream processing, then that should probably be fixed to accomodate this change.  The failing code was padding the TSDRMetricsRecord with a timestamp and no data.  If downstream needs this then we should probably fix that as there is no data associated with the timestamp.

       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            scottmelton Scott Melton
            scottmelton Scott Melton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h