Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5598

[reporting] Per-tenant mapping of "searchable" attributes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Reporting service
    • Labels:

      Description

      To circumvent the limitations imposed by Elasticsearch having a maximum of 1000 unique attribute key names, we will use MongoDB to provide a persistent per-tenant attribute enumeration mapping. The mapping needs to be symmetric, mapping keys to integers for encoding and from integers to keys for decoding attributes. Moreover, updates to the maps must be atomic. A new searchable attribute should be added for each new attribute key a device submits until the tenant has exceeded 100 attribute keys.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            alfrunes Alf-Rune Siqveland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support