Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4740

Produce a warning if old metrics config is still in place

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: Metrics
    • Labels:

      Description

      As of v7.0.0, the metrics config is migrated from XML to Lua. It might be nice that upon loading the Lua file, if it also sees the old XML file, it'd produce a warning. Something like

          if (exists(stats.config.xml)) { /* Pseudo code, obviously do it right */
              Warning("Ignoring the old stats.config.xml configuration, loading metrics.config instead");
          }
      

        Attachments

          Activity

            People

            • Assignee:
              kawaiirice Quinn Lertratanakul
              Reporter:
              zwoop Leif Hedstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: