Closed mikhail-vl closed 3 years ago
redis-gears-panel should consist of: 1) Input for REQUIREMENTS 2) Switch for UNBLOCKING 3) Use CodeEditor to create and run scripts. Example: https://github.com/grafana/grafana/blob/master/public/app/plugins/panel/text/TextPanelEditor.tsx 4) Results output in the table
redis-gears-panel
CodeEditor
How to query datasource: 1) command='rg.pyexecute' 2) keyName='GB().run()' 3) unblocking='true/false' 4) requirements='numpy'
RG.PYEXECUTE description: https://oss.redislabs.com/redisgears/commands.html#rgpyexecute Examples: https://oss.redislabs.com/redisgears/examples.html
Describe the solution you'd like
redis-gears-panel
should consist of: 1) Input for REQUIREMENTS 2) Switch for UNBLOCKING 3) UseCodeEditor
to create and run scripts. Example: https://github.com/grafana/grafana/blob/master/public/app/plugins/panel/text/TextPanelEditor.tsx 4) Results output in the tableHow to query datasource: 1) command='rg.pyexecute' 2) keyName='GB().run()' 3) unblocking='true/false' 4) requirements='numpy'
Additional context
RG.PYEXECUTE description: https://oss.redislabs.com/redisgears/commands.html#rgpyexecute Examples: https://oss.redislabs.com/redisgears/examples.html