XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Cherry-R5
    • None
    • None
    • None

      Provide a function in the framework that allows an xApp (or other component utilizing the framework) to send statistics to a centralized collector.

      Internally, the function will send RMR message with the given statistics payload (very likely in JSON format similar to current VES formats).

       

      The following is the proposed schema for the json payload (as pulled from the discussion in the comments). 

       

       

      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {
          "reporter": {
            "description": "the system reporting the statistic",
            "default":  "the RMR source string (host:port)",
            "type": "string"
          },
          "generator": {
            "description": "the system which generated the statistic",
            "default": "reporter is assumed to be the generator if this is omitted",
            "type": "string"
          },
          "timestamp": {
            "description": "milliseconds past the UNIX epoch; e.g. 1594382657000 ==  Fri Jul 10  08:04:17.000 EDT 2020",
            "default":  "the message arrival time"
            "type": "integer"
          },
          "data": {
            "description": "one or more statistics measurements",
            "type": "array",
            "items": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "description": "measurement name",
                    "type": "string"
                  },
                  "type": { 
                    "description": "future: measurement type such as counter, value, or similar",
                    "type": "string"
                  },
                  "value": {
                    "description": "actual value; treated as a double when forwarded",
                    "type": "number"
                  }
                },
                "required": [
                  "id",
                  "value"
                ]
              }
            ]
          }
        },
        "required": [
          "data"
        ]
      }
      
      

       

        # Subject Branch Project Status CR V

            Unassigned Unassigned
            MattiHiltunen Matti Hiltunen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: