Hello @DifferentialOrange. I'm testing this plugin, without luck so far. Maybe is there something I'm doing wrong, would you guide me on how to use those plugins? If you can't, please let me know so I ask on 'grafonnet-lib' side.
#!/usr/bin/env sh
set -e
echo "Generating dashboards"
for fp in $(ls /input); do
echo "Generating $fp"
export JSONNETPATH="/grafonnet-lib:/grafonnet-lib/grafonnet-polystat-panel:/grafonnet-lib/grafonnet-status-panel"
/usr/local/bin/jsonnet /input/$fp -o /output/${fp%net}
done
You seem to be the first one in building a plugin extension for Grafonnet. Would you please help me understanding this one? I'd like to have this working and contribute with a working plugin as well :).
Hello @DifferentialOrange. I'm testing this plugin, without luck so far. Maybe is there something I'm doing wrong, would you guide me on how to use those plugins? If you can't, please let me know so I ask on 'grafonnet-lib' side.
I've followed: https://github.com/grafana/grafonnet-lib#user-content-adding-plugins-to-grafonnet
The
overview.jsonnet
is as follows:The import is failing as follows:
Here is the structure in the container:
I'm importing the library here:
I have the wish of building a similar plugin and sharing it for the polystatPanel Grafana chart: https://grafana.com/grafana/plugins/grafana-polystat-panel. Doing the work here: https://github.com/thelastpickle/grafonnet-polystat-panel. As you can see it's inspired/copied from yours, but I'm not sure how to use it.
You seem to be the first one in building a plugin extension for Grafonnet. Would you please help me understanding this one? I'd like to have this working and contribute with a working plugin as well :).
Thanks!