Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-19045

Possible improvements to loggy.py

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: Monitoring
    • Labels:
      None
    • Project:
      Infrastructure

      Description

      loggy.py currently creates a loggy-indices logtype if the instance thinks that the index for the day needs creating.

      However, the code does not check whether the instance managed to create the index. If several instance happen to log at the same time there can be multiple copies of the logtype. For example, there were 4 on Sep 12 2019.

      If the intention is to only log the entry once, then the code needs to check whether index creation was successful or not.

      Note that the mappings are defined in the instance, so could vary between nodes.

      It might be better to record the logtype in every instance when it detects a new index name (this will result in more than one record when loggy is restarted)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                christ Chris Thistlethwaite
                Reporter:
                sebb Sebb
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Review Date: