Datasource Plugin Issue - Not rendering query editor

I have been using the Prometheus Plugin as an example to develop a streaming datasource plugin for the monitoring software PRTG. I am able use the query explorer to query my datasource, but when I switch to the panel page, my query editor isn’t being displayed. My datasource doesn’t show up in the drop down list either, but when I set a breakpoint, it shows the current query “Random Walk” is being used against my datasource. Any suggestions? Thanks

Problem Solved:
In file plugin.json

When I had added in ““streaming”: true”, I had deleted ““metrics”: true”. According to the docs

metrics - boolean - No - For data source plugins. If the plugin supports metric queries. Used in the Explore feature.

I thought this was just used in Explore like the docs suggested, but apparently affects both. Am I missing something?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.