Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Template:customfield_10700 20186
-
Epic Link:
-
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.