I’ve successfully integrated a customized version of the simpleJson datasource with the timeseries database my colleagues and I are working on - the one thing I haven’t been able to figure out is how to return non-leaf nodes to Grafana. Or perhaps the simpleJson datasource does not support this?
To be more specific, at the 2:22 mark of Beginners Guid to Building Dashboards Torkel builds a metric query that reads:
apps->backend->backend_01->counters->requests->count
So ‘apps’ and ‘backend’ are non-leaf nodes, and ‘count’ is the leaf node. I want to be able to build similar queries for my currently proprietary (eventually to be open sourced) timeseries-database … but I don’t know how to get my fork of the simpleJson datasource to provide non-leaf nodes to Grafana. The examples I have seen only provide leaf nodes, so this is what I currently have working … but it provides a very cluttered namespace for our users to say the least.
Any advice would be greatly appreciated.