Cannot Reproduce
Details
Assignee
UnassignedUnassignedReporter
Robert DrakeRobert DrakeComponents
Affects versions
Priority
Trivial
Details
Details
Assignee
Unassigned
UnassignedReporter
Robert Drake
Robert DrakeComponents
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created July 21, 2015 at 7:03 PM
Updated February 29, 2016 at 3:13 PM
Resolved February 29, 2016 at 3:13 PM
It seems that at some point "metric" got changed to be called "name" or vice versa. It was still listed as metric in the wiki, but in current released code name is the only field that works for POST to sample, and it's what is returned from a GET from sample.
I'm not sure about other cases like search and measure so I didn't change the documentation there.
I also noticed inconsistencies with regards to timestamp. The input seems to need microseconds instead of milliseconds, although in truth it seems to accept any positive integer (then fail silently if they're too low 1417 as an example.... this may be getting too tangential and need another bug report)
Anyway, it seems to silently reject millisecond timestamps and likes microsecond timestamps, so the documentation probably should say to use those if that is what is intended (but I wasn't sure because I don't know what would be returned in some cases either.. I'm not sure if it's normalizing internally or just storing what is sent)