Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-348

v3 URL metrics return v2 information

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PDB 1.5.0, PDB 1.6.0-rc3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The below code is executed for v2 and v3 metrics on the commands URL

      (.startsWith name "com.puppetlabs.puppetdb.http.server:type=commands")
      (s/replace name #"type=commands" "type=/v2/commands")
      

      So a user would look for metrics at /v3/metrics/mbeans.... and it would return v2 metrics instead. The above is true for metrics, commands, facts and resources

        Attachments

          Activity

            People

            • Assignee:
              ryan.senior Ryan Senior
              Reporter:
              ryan.senior Ryan Senior
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support