Xport failed exception when using the Measurements API in a custom info panel item

Description

Users may encounter the attached exception when attempting to retrieve values using the Measurements API in a custom info panel item in the Topology UI.

Acceptance / Success Criteria

None

Attachments

1
  • 09 Aug 2016, 11:49 AM

Lucidchart Diagrams

Activity

Show:

Jesse White September 28, 2016 at 8:55 AM

The previous fix was reverted in favor of 19e22703ba42da81d5b43e4d8b53cf18566b3d8f.

Relaxed is now the default mode, and there is the option to make strict queries if necessary.

Jesse White September 21, 2016 at 5:19 PM

Strict mode is now enabled by default, but there is no way to make "relaxed" mode requests, we need to make this possible.

Jesse White August 9, 2016 at 12:02 PM

Jesse White August 9, 2016 at 11:58 AM

It turns out that this is exception occurs when a call is made with an invalid resource/attribute combination.

The service wrapper used by the info panel items disables strict mode in the Measurements API, resulting in a empty export statement, which causes the 'rrd xport' to fail.

Enabling strict mode by default will provide the user with better exceptions.

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

PagerDuty

Created August 9, 2016 at 11:49 AM
Updated September 28, 2016 at 8:56 AM
Resolved September 28, 2016 at 8:56 AM

Flag notifications