You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by pvillard31 <gi...@git.apache.org> on 2018/02/28 20:52:27 UTC

[GitHub] nifi issue #2430: NIFI-4809 - Implement a SiteToSiteMetricsReportingTask

Github user pvillard31 commented on the issue:

    https://github.com/apache/nifi/pull/2430
  
    Thanks for your comments @mattyb149 - I just pushed a commit that should address everything.
    
    Regarding the record approach you suggested. Even though I really like the idea, I'm not sure to see how to define a valid avro schema for the specification used by the Ambari collector API (https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification):
    
    ````json
    {
      "metrics": [
        {
          "metricname": "AMBARI_METRICS.SmokeTest.FakeMetric",
          "appid": "amssmoketestfake",
          "hostname": "ambari20-5.c.pramod-thangali.internal",
          "timestamp": 1432075898000,
          "starttime": 1432075898000,
          "metrics": {
            "1432075898000": 0.963781711428,
            "1432075899000": 1432075898000
          }
        }
      ]
    }
    ````
    
    How would we manage the 'metrics' part where field names are timestamps?


---