src/go/tools/functions-validation/README.md
go.d.plugin --function with the configs in ./config../config/go.d../e2e.sh for automated end-to-end checks in /tmp (runs per-DB scripts).docker compose up -d
cd ../../../
src/go/go.d.plugin \
--config-dir src/go/tools/functions-validation/config \
--function postgres:top-queries \
--function-args info
echo '{"status":200,"type":"table","columns":{},"data":[]}' | \
(cd src/go && go run ./tools/functions-validation/validate)
src/go/go.d.plugin \
--config-dir src/go/tools/functions-validation/config \
--function postgres:top-queries \
--function-args __job:local \
> /tmp/pg.json
(cd src/go && go run ./tools/functions-validation/validate --input /tmp/pg.json --min-rows 1)
./e2e.sh
./e2e.sh --jobs 4
./e2e.sh --only postgres,mysql
./e2e.sh --list
./e2e/postgres.sh
/tmp and runs Docker Compose there.go.d.plugin into the /tmp workspace./tmp workspace on success; keeps it on failure for debugging../config.system.profile.src/plugins.d/FUNCTION_UI_SCHEMA.json.