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

Metrics endpoint has plural and singular mbeans/mbean

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      1
    • Sprint:
      PuppetDB 2015-01-28

      Description

      In the PuppetDB API most endpoints are plural in the sense that they look like /nodes/certname/facts/factname but the Metrics endpoint is different.

      To get a list of all metrics /metrics/mbeans is queried whereas a single metric is queried as /metrics/mbean. This is inconstant with the rest of the API where querying for /nodes gives you all the nodes and /nodes/certname a single node, facts and resources behave similarly.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            redmine.exporter redmine.exporter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support