Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-21345

FIWARE.Question.Tech.How to send NGSIv2 metadata to CrateDB.

    Details

      Description

      Created question in FIWARE Q/A platform on 16-05-2023 at 20:05
      Please, ANSWER this question AT https://stackoverflow.com/questions/76266943/how-to-send-ngsiv2-metadata-to-cratedb

      Question:
      How to send NGSIv2 metadata to CrateDB

      Description:
      I need to send attributes in the northbound direction containing metadata to the CrateDB time series. Sample of the attribute format:
      {
      "object_id": "AGV_Error",
      "name": "AGV_Error",
      "type": "Integer",
      "value": 0,
      "metadata": {
      "avg":

      { "value": 25.6, "type": "Number" }

      ,
      "accuracy":

      { "value": 98.7, "type": "Number" }

      }
      }

      Although the attribute value is successfully stored in CrateDB, I am still unable to store the metadata. I have tried to check if it is possible to add the metadata inside the subscriptions, but I have not found relevant documentation.
      Any suggestions?

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: