Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25494

Optimize LLD macro value extraction

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • None
    • Server (S)
    • None

      The custom LLD macro usage is quite inefficient.

      In the case of LLD macros defined in LLD rule with jsonpaths server will first parse lld row into json object, perform jsonpath query and then free the object. This could be optimized by caching the object associated to LLD row. Even further - the LLD data could be parsed into object in beginning and this json object tree could be used directly.

      Adding caching might also improve LLD macro lookups, but most likely that would depend on custom LLD macro jsonpath complexity.

       

            vso Vladislavs Sokurenko
            wiper Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: