#57 EoN / Metrics: The final Metric of the example project is not showing up in ignition

1.0.0.0: EoN
closed
None
2020-10-02
2020-09-15
i-campbell
No

In the example project, there is a metric: name: "ws3", Value: "nöö" which isn't being displayed in the Host Node (ignition).
could it be the strange characters (ö)?
could it be that it is the last metric in the list?
who knows!

  1. check the NBIRTH message with a suitable subscriber. (final metric was missing)
  2. find and fix the problem. (see comment below for the issues found)
1 Attachments

Discussion

  • i-campbell

    i-campbell - 2020-09-15
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,5 +3,5 @@
     could it be that it is the last metric in the list?
     who knows!
    
    -1. check the NBIRTH message with a suitable subscriber.
    -2. find and fix the problem.
    +1. check the NBIRTH message with a suitable subscriber. (final metric was missing)
    +2. find and fix the problem. (see comment below for the issues found)
    
    • assigned_to: i-campbell --> aliazzz
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -0,0 +1 @@
    +Always report success adding metrics.png (41.1 kB; image/png)
    
    • Milestone: 1.0.0.0: basic protobufs --> 1.0.0.0: EoN
     
  • i-campbell

    i-campbell - 2020-09-15
    1. AddMetricList always logs "Success" even if adding a metric fails.
    2. Total number of metrics in AllMetricList = 38 but getNBIRTHCertificate adds 39 metrics
      getNBIRTHCertificate line 14: AddMetricSimple(NBirth);
      getNBIRTHCertificate line 20: AddMetricList(AllMetricList);
      This leads to an ERROR.PayloadNotEnoughMetrics
      ==> SHOULD: remove the AddMetricSimple and just add the NBirth to the AllMetricList
    3. any errors returned by AddMetricsList are not passed on, eg with
      getNBIRTHCertificate line 23: getNBIRTHCertificate := AddAllMetricsListErr;
     
  • i-campbell

    i-campbell - 2020-10-02

    solved with r376

     
  • i-campbell

    i-campbell - 2020-10-02
    • labels: Bug, Metrics. -->
    • status: open --> closed
     
  • i-campbell

    i-campbell - 2020-10-02
    • assigned_to: aliazzz --> i-campbell
     

Log in to post a comment.