Can I ask how your Data Source is configured for the Octopus Deploy plugin?
Would you be able to send over a screenshot of the page, please?
As this will contain the address of your Octopus server, feel free to upload to our secure upload environment here: Support Files.
You should be able to go to Configuration → Data Sources (within Grafana), then select the Octopus Deploy data source.
The API key shouldn’t be visible, this is fine, as long as I can see the URL format you’ve supplied and that the green check with “Data source is working” displays when you click “save and test”.
I just tested with the most recent version of the plugin myself and a local instance and all seems fine - are you using Octopus Cloud or Octopus Server?
Yes, we’re using your provided dashboard.
Which Grafana Version do you use?
Is there a logging or debug option to see which API endpoints are called and what is returned?
I did some more digging on my Grafana install and I can see I’m actually having the same issue you’re experiencing, the queries in the variables section don’t appear to be returning results but when I “explore” the data source, the queries there are working fine.
It looks like Grafana is failing to retrieve the datasource when making API requests to itself, it seems to be pulling the entire JSON object for the datasource rather than just the ID value:
This could be an issue with our plugin; just to make sure we’ve tested on the same platforms; are you hosting your Octopus and Grafana on Windows or on a *nix OS?
I’ll report this to our integrations engineers to see if they have any more information that can point us to a solution or if this is simply a bug that needs to be looked at from our side.
Thank you for letting us know and I’ll update this post as soon as I have more information for you.
Please let me know if this resolves the issues you’re experiencing once you can test this version; hopefully, everything should display correctly, and those variables should work as expected.