All work
- Ensure that template variables are allowed in query editor fieldsOPG-471Scott Theleman
- Allow manual override UI and Docs updates after Grafana reviewOPG-477Scott Theleman
- Alarm Table Panel Pagination not working correctlyOPG-478Scott Theleman
- Dependency updates April 2024: swc, etc.OPG-479Scott Theleman
- Add variables to node/resource drop downOPG-384Scott Theleman
Ensure that template variables are allowed in query editor fields
Details
Assignee
Scott ThelemanScott ThelemanReporter
Scott ThelemanScott ThelemanStory Points
5Sprint
NoneAffects versions
Priority
High
Details
Details
Assignee
Reporter
Story Points
Sprint
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Activity
Scott ThelemanJanuary 9, 2024 at 10:50 PMEdited
This seems to mostly be working for example when using the Performance datasource, Attribute query, selecting a node or resource.
However, in some cases there are issues with dropdowns not allowing a user to input a template variable. Added a new Performance datasource configuration option, allowManualOverrideExtensions
, which when enabled, will result in Performance query editor displaying a switch and an input text box next to the Node dropdown, where a static value or template variable can be entered.
Wanted to get this pattern in the code, we can add it as needed to any other fields where there are issues with inputting a template variable.
Performance data source configuration options panel:
Performance query editor, using the manual override option to enter a $node
template variable:
Ensure that users can use template variables in query editor fields, for example using
$node
in an Entity or Performance Datasource query editor.Validation is done to restrict these values to actual property values (e.g. existing node IDs or labels), but need to accept template variables as well, and perhaps include them in the ‘select’ lists.