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

Metrics created via stats.config.xml should not need to be registered in RecordsConfig.cc

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Metrics
    • Labels:
      None

      Description

      It seems superfluous, and very inflexible, to require the calculated metrics in stats.config.xml to also need to be registered in RecordsConfig.cc. I think that should just be "automatic", leaving RecordsConfig.cc with only configurations. If there are metrics in RecordsConfig.cc which are not calculated via stats.config.xml, they should be registered in other submodules, like we generally do for everything else.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamespeach James Peach
                Reporter:
                zwoop Leif Hedstrom
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: